diff options
author | Matthew Waters <matthew@centricular.com> | 2015-08-08 15:30:43 +0200 |
---|---|---|
committer | Matthew Waters <matthew@centricular.com> | 2015-08-08 15:32:17 +0200 |
commit | 4fd7b2408eca30d1e60c743e2c8a37b94fab46cd (patch) | |
tree | 34c646d70d27a5bd3025ad7a07ae3b10a4d34adb /tests | |
parent | 83995c0935b9809ea07dc2314145c3e1b1542e7a (diff) | |
download | gstreamer-plugins-bad-4fd7b2408eca30d1e60c743e2c8a37b94fab46cd.tar.gz |
tests/glcontext: fix INVALID_ENUM GL error in test
Diffstat (limited to 'tests')
-rw-r--r-- | tests/check/libs/gstglcontext.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/check/libs/gstglcontext.c b/tests/check/libs/gstglcontext.c index 907d081ea..8bb5f99fc 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); |