commit 6fc8931245a0a9f1361a2f16df0ddd73e4c4939c parent 300c7178130dc40619f7cc88cebbb31d421b3e4d Author: Michael Savage <mikejsavage@gmail.com> Date: Thu Aug 31 22:44:21 +0300 Oops Diffstat:
renderer.cc | | | 2 | +- |
diff --git a/renderer.cc b/renderer.cc @@ -875,7 +875,7 @@ static void set_render_state( const RenderState & state ) { glBindBufferBase( GL_UNIFORM_BUFFER, i, 0 ); } else { - glBindBufferRange( GL_UNIFORM_BUFFER, i, uniforms[ uniforms_idx ], binding.offset, binding.size ); + glBindBufferRange( GL_UNIFORM_BUFFER, i, uniforms, binding.offset, binding.size ); } } }