use the texture's sample count in the ColorAttachmentInfo constructors
parent
db38ada410
commit
fd24536ecc
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue