tests/glcontext: fix INVALID_ENUM GL error in test

This commit is contained in:
Matthew Waters 2015-08-08 15:30:43 +02:00 committed by Tim-Philipp Müller
parent 2034f78617
commit 8cad1e5b49

View 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);