diff libvo/vo_dxr3.c @ 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 fd51fd1ff231
children 934380353fd6
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;