diff libvo/vo_mga.c @ 15212:05aa13cdf92f

replace VO and VF numeric flags with #defined identifiers
author henry
date Mon, 18 Apr 2005 15:52:38 +0000
parents a0197f7b0784
children 090c8df3f6fe
line wrap: on
line diff
--- a/libvo/vo_mga.c	Mon Apr 18 14:35:11 2005 +0000
+++ b/libvo/vo_mga.c	Mon Apr 18 15:52:38 2005 +0000
@@ -34,7 +34,7 @@
 
 #define FBDEV	"/dev/fb0"
 
-static uint32_t config(uint32_t width, uint32_t height, uint32_t d_width, uint32_t d_height, uint32_t fullscreen, char *title, uint32_t format)
+static uint32_t config(uint32_t width, uint32_t height, uint32_t d_width, uint32_t d_height, uint32_t flags, char *title, uint32_t format)
 {
 
 //	if (f >= 0) mga_uninit();
@@ -60,7 +60,7 @@
 		aspect_save_prescale(d_width,d_height);
 		aspect_save_screenres(vo_screenwidth,vo_screenheight);
 	
-		if(fullscreen&0x01) { /* -fs */
+		if(fullscreen&VOFLAG_FULLSCREEN) { /* -fs */
 			aspect(&d_width,&d_height,A_ZOOM);
 			vo_fs = VO_TRUE;
 		} else {