Mercurial > mplayer.hg
comparison libvo/vo_gl.c @ 14430:3512ff2cddb2
set sub_bg_alpha only to 255 when using hardware OSD.
author | reimar |
---|---|
date | Sat, 08 Jan 2005 17:58:56 +0000 |
parents | da530c6064a0 |
children | 2ef20aa3623b |
comparison
equal
deleted
inserted
replaced
14429:90b4a1345b96 | 14430:3512ff2cddb2 |
---|---|
157 image_height = height; | 157 image_height = height; |
158 image_width = width; | 158 image_width = width; |
159 glFindFormat(format, &image_bytes, &gl_texfmt, &gl_format, &gl_type); | 159 glFindFormat(format, &image_bytes, &gl_texfmt, &gl_format, &gl_type); |
160 image_bytes = (image_bytes + 7) / 8; | 160 image_bytes = (image_bytes + 7) / 8; |
161 | 161 |
162 if (use_osd) | |
162 sub_bg_alpha = 255; // We need alpha = 255 for invisible part of the OSD | 163 sub_bg_alpha = 255; // We need alpha = 255 for invisible part of the OSD |
163 int_pause = 0; | 164 int_pause = 0; |
164 | 165 |
165 panscan_init(); | 166 panscan_init(); |
166 aspect_save_orig(width,height); | 167 aspect_save_orig(width,height); |