commit 4b8a4d3433cae8cba233e6d71e57173b157d0abd parent 909f779f19905be1b40a96beeffc319a2f8145ca Author: Michael Savage <mikejsavage@gmail.com> Date: Thu Aug 31 23:03:49 +0300 Warning Diffstat:
renderer.h | | | 2 | +- |
diff --git a/renderer.h b/renderer.h @@ -290,7 +290,7 @@ inline void renderer_uniforms_copy( char * buf, size_t len, const T & first, Res template< typename... Rest > inline UniformBinding renderer_uniforms( Rest... rest ) { constexpr size_t buf_size = renderer_uniforms_size< Rest... >( 0 ); - constexpr u32 alignment = renderer_ub_alignment< Rest... >(); + constexpr size_t alignment = renderer_ub_alignment< Rest... >(); char buf[ buf_size ]; memset( buf, 0, sizeof( buf ) ); renderer_uniforms_copy( buf, 0, rest... );