renderArea NULL inputs
parent
b5b0f35b50
commit
cf2d8473a1
|
@ -1 +1 @@
|
|||
Subproject commit 5fe9dd8587b05ac2b766a0218a33667aed4c113d
|
||||
Subproject commit 848db820a6de3437f44e8e45f4c274f40bbfae27
|
|
@ -52,14 +52,12 @@ namespace MoonWorks.Graphics
|
|||
refreshColorAttachmentInfos[i] = colorAttachmentInfos[i].ToRefresh();
|
||||
}
|
||||
|
||||
Rect renderArea = new Rect((int) colorAttachmentInfos[0].Texture.Width, (int) colorAttachmentInfos[0].Texture.Height);
|
||||
|
||||
fixed (Refresh.ColorAttachmentInfo* pColorAttachmentInfos = refreshColorAttachmentInfos)
|
||||
{
|
||||
Refresh.Refresh_BeginRenderPass(
|
||||
Device.Handle,
|
||||
Handle,
|
||||
renderArea.ToRefresh(),
|
||||
IntPtr.Zero,
|
||||
(IntPtr) pColorAttachmentInfos,
|
||||
(uint) colorAttachmentInfos.Length,
|
||||
IntPtr.Zero
|
||||
|
@ -102,14 +100,12 @@ namespace MoonWorks.Graphics
|
|||
|
||||
var refreshDepthStencilAttachmentInfo = depthStencilAttachmentInfo.ToRefresh();
|
||||
|
||||
Rect renderArea = new Rect((int) colorAttachmentInfos[0].Texture.Width, (int) colorAttachmentInfos[0].Texture.Height);
|
||||
|
||||
fixed (Refresh.ColorAttachmentInfo* pColorAttachmentInfos = refreshColorAttachmentInfos)
|
||||
{
|
||||
Refresh.Refresh_BeginRenderPass(
|
||||
Device.Handle,
|
||||
Handle,
|
||||
renderArea.ToRefresh(),
|
||||
IntPtr.Zero,
|
||||
pColorAttachmentInfos,
|
||||
(uint) colorAttachmentInfos.Length,
|
||||
&refreshDepthStencilAttachmentInfo
|
||||
|
|
Loading…
Reference in New Issue