# HG changeset patch # User reimar # Date 1227637463 0 # Node ID bcb567424fbc5007303df20c4a8e08e4642f3ceb # Parent 8f31ea9bca98ee15b9f1cf41ff18ad1a6a1b75b5 100l, OSD alpha textures were cleared to the wrong value. diff -r 8f31ea9bca98 -r bcb567424fbc libvo/vo_gl.c --- 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);