changeset 28002:bcb567424fbc

100l, OSD alpha textures were cleared to the wrong value.
author reimar
date Tue, 25 Nov 2008 18:24:23 +0000
parents 8f31ea9bca98
children 2c3528928d6b
files libvo/vo_gl.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vo_gl.c	Tue Nov 25 09:54:34 2008 +0000
+++ b/libvo/vo_gl.c	Tue Nov 25 18:24:23 2008 +0000
@@ -544,7 +544,7 @@
 #ifndef FAST_OSD
   glGenTextures(1, &osdatex[osdtexCnt]);
   BindTexture(gl_target, osdatex[osdtexCnt]);
-  glCreateClearTex(gl_target, GL_ALPHA, GL_ALPHA, GL_UNSIGNED_BYTE, scale_type, sx, sy, 255);
+  glCreateClearTex(gl_target, GL_ALPHA, GL_ALPHA, GL_UNSIGNED_BYTE, scale_type, sx, sy, 0);
   {
   int i;
   char *tmp = malloc(stride * h);