diff options
author | Fox Caminiti <fox@foxcam.net> | 2022-08-25 18:55:59 -0400 |
---|---|---|
committer | Fox Caminiti <fox@foxcam.net> | 2022-08-25 18:55:59 -0400 |
commit | b39c7374009d03d448e47e08ddabc30abeee5247 (patch) | |
tree | d1a022544720138f244c0bf9cbc1437ff50e589d /gl_calls.cpp | |
parent | ae94b4b9fc5b4443f6d9eb6bb450de1def108cdb (diff) |
minor fixes
Diffstat (limited to 'gl_calls.cpp')
-rw-r--r-- | gl_calls.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gl_calls.cpp b/gl_calls.cpp index 277b15b..ba63fda 100644 --- a/gl_calls.cpp +++ b/gl_calls.cpp @@ -222,6 +222,7 @@ GL_UpdateTexture(gl_effect_layer *Test, void *Data, uint16 Width, uint16 Height, static void GL_BindDefaultVertexArrays() { + glBindVertexArray(DefaultVerts.VertexArrayObject); // Switch to main buffer glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, DefaultVerts.ElementBufferObject); glBindBuffer(GL_ARRAY_BUFFER, DefaultVerts.VertexBufferObject); |