summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/check/libs/gstglcontext.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/check/libs/gstglcontext.c b/tests/check/libs/gstglcontext.c
index 94a5f95f3..601e67344 100644
--- a/tests/check/libs/gstglcontext.c
+++ b/tests/check/libs/gstglcontext.c
@@ -174,7 +174,7 @@ draw_render (gpointer data)
gl->LoadIdentity ();
gl->ActiveTexture (GL_TEXTURE_2D);
- gl->BindTexture (GL_TEXTURE_2D, tex_id);
+ gl->BindTexture (GL_TEXTURE_2D, tex);
gl->EnableClientState (GL_VERTEX_ARRAY);
gl->VertexPointer (2, GL_FLOAT, 0, &verts);