changeset 16941:aff6d5831e25

Fix compilation, use vo_fs instead of fullscreen variable. Not tested.
author reimar
date Sun, 06 Nov 2005 21:15:53 +0000
parents 7eb9b500dd7f
children 3d43eb040393
files libvo/vo_dxr3.c
diffstat 1 files changed, 3 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vo_dxr3.c	Sun Nov 06 21:09:07 2005 +0000
+++ b/libvo/vo_dxr3.c	Sun Nov 06 21:15:53 2005 +0000
@@ -162,7 +162,6 @@
 static int v_width, v_height;
 static int s_width, s_height;
 static int osd_w, osd_h;
-static int fullscreen;
 static int img_format;
 
 /* Configuration values
@@ -293,13 +292,9 @@
 	case VOCTRL_FULLSCREEN:
 		if (dxr3_overlay) {
 			vo_x11_fullscreen();
-			if (fullscreen) {
-				overlay_signalmode(overlay_data, EM8300_OVERLAY_SIGNAL_WITH_VGA);
-				fullscreen = 0;
-			} else {
-				overlay_signalmode(overlay_data, EM8300_OVERLAY_SIGNAL_ONLY);
-				fullscreen = 1;
-			}
+			overlay_signalmode(overlay_data,
+			  vo_fs ? EM8300_OVERLAY_SIGNAL_ONLY :
+			    EM8300_OVERLAY_SIGNAL_WITH_VGA);
 			return VO_TRUE;
 		}
 		return VO_FALSE;