changeset 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 90b4a1345b96
children 0c10f923746e
files libvo/vo_gl.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vo_gl.c	Sat Jan 08 14:32:26 2005 +0000
+++ b/libvo/vo_gl.c	Sat Jan 08 17:58:56 2005 +0000
@@ -159,6 +159,7 @@
 	glFindFormat(format, &image_bytes, &gl_texfmt, &gl_format, &gl_type);
 	image_bytes = (image_bytes + 7) / 8;
 
+  if (use_osd)
   sub_bg_alpha = 255; // We need alpha = 255 for invisible part of the OSD
 	int_pause = 0;