From 4fd7b2408eca30d1e60c743e2c8a37b94fab46cd 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);