tests/glcontext: fix INVALID_ENUM GL error in test
authorMatthew Waters <matthew@centricular.com>
Sat, 8 Aug 2015 13:30:43 +0000 (15:30 +0200)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 9 Dec 2017 19:32:07 +0000 (19:32 +0000)
tests/check/libs/gstglcontext.c

index 907d081..8bb5f99 100644 (file)
@@ -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);