update uniform API
parent
68bb51439f
commit
0daf548fd3
|
@ -1 +1 @@
|
|||
Subproject commit 11d5671762bc999663672959568399b8e564420f
|
||||
Subproject commit fcb16a6121f556b2aebfbb7e72b71e94041dc1d1
|
|
@ -79,7 +79,7 @@ namespace MoonWorks.Graphics
|
|||
Device.Handle,
|
||||
Handle,
|
||||
(IntPtr) ptr,
|
||||
(uint) uniforms.Length
|
||||
(uint) (uniforms.Length * Marshal.SizeOf<T>())
|
||||
);
|
||||
}
|
||||
}
|
||||
|
@ -138,7 +138,7 @@ namespace MoonWorks.Graphics
|
|||
Device.Handle,
|
||||
Handle,
|
||||
(IntPtr) ptr,
|
||||
(uint) uniforms.Length
|
||||
(uint) (uniforms.Length * Marshal.SizeOf<T>())
|
||||
);
|
||||
}
|
||||
}
|
||||
|
@ -153,7 +153,7 @@ namespace MoonWorks.Graphics
|
|||
Device.Handle,
|
||||
Handle,
|
||||
(IntPtr) ptr,
|
||||
(uint) uniforms.Length
|
||||
(uint) (uniforms.Length * Marshal.SizeOf<T>())
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue