From 8cad1e5b49617d47a1cd9c92a14620cd45ef89e4 Mon Sep 17 00:00:00 2001 From: Matthew Waters Date: Sat, 8 Aug 2015 15:30:43 +0200 Subject: [PATCH] tests/glcontext: fix INVALID_ENUM GL error in test --- tests/check/libs/gstglcontext.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/check/libs/gstglcontext.c b/tests/check/libs/gstglcontext.c index 907d081ea6..8bb5f99fcc 100644 --- a/tests/check/libs/gstglcontext.c +++ b/tests/check/libs/gstglcontext.c @@ -173,7 +173,7 @@ draw_render (gpointer data) gl->MatrixMode (GL_PROJECTION); gl->LoadIdentity (); - gl->ActiveTexture (GL_TEXTURE_2D); + gl->ActiveTexture (GL_TEXTURE0); gl->BindTexture (GL_TEXTURE_2D, tex); gl->EnableClientState (GL_VERTEX_ARRAY);