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