changeset 36113:d4b701cdd763

Add forgotten switch back to texture unit 0. Fixes issues with yuv=3 in when processing xyz format.
author reimar
date Wed, 01 May 2013 22:45:26 +0000
parents e2e188ede1d1
children 2c96438ef2ad
files libvo/vo_gl.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vo_gl.c	Wed May 01 19:06:51 2013 +0000
+++ b/libvo/vo_gl.c	Wed May 01 22:45:26 2013 +0000
@@ -587,6 +587,7 @@
       mpglBindTexture(GL_TEXTURE_RECTANGLE, default_texs[i + 7]);
       mpglBindTexture(GL_TEXTURE_3D, default_texs[i + 14]);
     }
+    mpglActiveTexture(GL_TEXTURE0);
   }
   if (stereo_mode == GL_3D_STIPPLE)
     glSetupAlphaStippleTex(stipple);