diff options
Diffstat (limited to 'src/gl.c')
| -rw-r--r-- | src/gl.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -244,6 +244,7 @@ RenderObject RenderObject_new( o.buffer = buffers; o.buffer_len = num_buffers; o.mvp = gl->GetUniformLocation(o.shader.program, "MVP"); + o.model_position = gl->GetUniformLocation(o.shader.program, "modelPosition"); // It is very much a non-issue if we don't find the model view projection in // the shader. In fact, it is removed from a shader program if it is not used. |
