commit dfd00acb455b37a760f0b551a42f5ffb03e11219 parent eca7428ca96858d191df03f896ea7419ebe3bf61 Author: Michael Savage <mikejsavage@gmail.com> Date: Thu Aug 31 00:16:43 +0300 Smaller UBO Diffstat:
renderer.cc | | | 2 | +- |
diff --git a/renderer.cc b/renderer.cc @@ -23,7 +23,7 @@ static const GLuint ATTR_TEX_COORD1 = 3; static const GLuint ATTR_COLOUR = 4; static const GLuint ATTR_MODEL_TO_WORLD_COL0 = 5; -static const u32 UNIFORM_BUFFER_SIZE = megabytes( 1 ); +static const u32 UNIFORM_BUFFER_SIZE = kilobytes( 16 ); struct DrawCall { RenderState render_state;