Use the texture's sample count in the ColorAttachmentInfo constructors #29

Closed
TheSpydog wants to merge 1 commits from TheSpydog/MoonWorks:samplecount into main
1 changed files with 2 additions and 2 deletions

View File

@ -215,7 +215,7 @@ namespace MoonWorks.Graphics
Depth = 0;
Layer = 0;
Level = 0;
SampleCount = SampleCount.One;
SampleCount = texture.SampleCount;
ClearColor = clearColor;
LoadOp = LoadOp.Clear;
StoreOp = storeOp;
@ -227,7 +227,7 @@ namespace MoonWorks.Graphics
Depth = 0;
Layer = 0;
Level = 0;
SampleCount = SampleCount.One;
SampleCount = texture.SampleCount;
ClearColor = Color.White;
LoadOp = loadOp;
StoreOp = storeOp;