[vlc-commits] gl: cvpx: remove useless glActiveTexture call
Thomas Guillem
git at videolan.org
Mon Sep 11 18:32:50 CEST 2017
vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Mon Sep 11 18:31:52 2017 +0200| [76564566bbb7e55132f66b3a3c172d6d27318f88] | committer: Thomas Guillem
gl: cvpx: remove useless glActiveTexture call
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=76564566bbb7e55132f66b3a3c172d6d27318f88
---
modules/video_output/opengl/converter_cvpx.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/modules/video_output/opengl/converter_cvpx.c b/modules/video_output/opengl/converter_cvpx.c
index c048a19dac..ce5a2bd432 100644
--- a/modules/video_output/opengl/converter_cvpx.c
+++ b/modules/video_output/opengl/converter_cvpx.c
@@ -63,8 +63,6 @@ tc_cvpx_update(const opengl_tex_converter_t *tc, GLuint *textures,
for (unsigned i = 0; i < tc->tex_count; ++i)
{
- tc->vt->ActiveTexture(GL_TEXTURE0 + i);
-
CVOpenGLESTextureRef texture;
CVReturn err = CVOpenGLESTextureCacheCreateTextureFromImage(
kCFAllocatorDefault, priv->cache, pixelBuffer, NULL,
More information about the vlc-commits
mailing list