tests/glcontext: fix INVALID_ENUM GL error in test
This commit is contained in:
parent
83995c0935
commit
4fd7b2408e
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user