[MPlayer-cvslog] r28036 - trunk/libvo/vo_gl.c
reimar
subversion at mplayerhq.hu
Tue Nov 25 19:24:24 CET 2008
Author: reimar
Date: Tue Nov 25 19:24:23 2008
New Revision: 28036
Log:
100l, OSD alpha textures were cleared to the wrong value.
Modified:
trunk/libvo/vo_gl.c
Modified: trunk/libvo/vo_gl.c
==============================================================================
--- trunk/libvo/vo_gl.c (original)
+++ trunk/libvo/vo_gl.c Tue Nov 25 19:24:23 2008
@@ -544,7 +544,7 @@ static void create_osd_texture(int x0, i
#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);
More information about the MPlayer-cvslog
mailing list