mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 19:55:32 +00:00
tests/glcontext: fix INVALID_ENUM GL error in test
This commit is contained in:
parent
2034f78617
commit
8cad1e5b49
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue