medfall

A super great game engine
Log | Files | Refs

commit e8ffa1ba81bfe5ba0398d37ab697fa53809c1bd9
parent ecb5bc420bd8e7ce8addf2b8d4024e06c210653d
Author: Michael Savage <mikejsavage@gmail.com>
Date:   Wed, 29 May 2019 21:19:13 +0300

Weird

Diffstat:
Mrenderer.cc | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/renderer.cc b/renderer.cc @@ -130,6 +130,7 @@ void renderer_begin_frame() { draw_calls_this_frame = 0; vertices_this_frame = 0; + glBindBuffer( GL_UNIFORM_BUFFER, uniforms ); glBufferData( GL_UNIFORM_BUFFER, UNIFORM_BUFFER_SIZE, NULL, GL_DYNAMIC_DRAW ); uniforms_buffer = ( u8 * ) glMapBuffer( GL_UNIFORM_BUFFER, GL_WRITE_ONLY ); ASSERT( uniforms_buffer != NULL );