Use the texture's sample count in the ColorAttachmentInfo constructors #29
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue