diff --git a/lib/RefreshCS b/lib/RefreshCS index 11d56717..fcb16a61 160000 --- a/lib/RefreshCS +++ b/lib/RefreshCS @@ -1 +1 @@ -Subproject commit 11d5671762bc999663672959568399b8e564420f +Subproject commit fcb16a6121f556b2aebfbb7e72b71e94041dc1d1 diff --git a/src/Graphics/CommandBuffer.cs b/src/Graphics/CommandBuffer.cs index 0ebd76b1..a80a1703 100644 --- a/src/Graphics/CommandBuffer.cs +++ b/src/Graphics/CommandBuffer.cs @@ -79,7 +79,7 @@ namespace MoonWorks.Graphics Device.Handle, Handle, (IntPtr) ptr, - (uint) uniforms.Length + (uint) (uniforms.Length * Marshal.SizeOf()) ); } } @@ -138,7 +138,7 @@ namespace MoonWorks.Graphics Device.Handle, Handle, (IntPtr) ptr, - (uint) uniforms.Length + (uint) (uniforms.Length * Marshal.SizeOf()) ); } } @@ -153,7 +153,7 @@ namespace MoonWorks.Graphics Device.Handle, Handle, (IntPtr) ptr, - (uint) uniforms.Length + (uint) (uniforms.Length * Marshal.SizeOf()) ); } }