summaryrefslogtreecommitdiff
path: root/gl_calls.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gl_calls.cpp')
-rw-r--r--gl_calls.cpp1
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);