mirror of
https://github.com/mpv-player/mpv
synced 2025-03-06 22:28:01 +00:00
100l, OSD alpha textures were cleared to the wrong value.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28036 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
a5581ec3b8
commit
16a685b00c
@ -544,7 +544,7 @@ static void create_osd_texture(int x0, int y0, int w, int h,
|
||||
#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);
|
||||
|
Loading…
Reference in New Issue
Block a user