summaryrefslogtreecommitdiffstats
path: root/libvo/vo_mga.c
diff options
context:
space:
mode:
Diffstat (limited to 'libvo/vo_mga.c')
-rw-r--r--libvo/vo_mga.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/libvo/vo_mga.c b/libvo/vo_mga.c
index 1bf4dd1982..f77e939568 100644
--- a/libvo/vo_mga.c
+++ b/libvo/vo_mga.c
@@ -84,10 +84,13 @@ config(uint32_t width, uint32_t height, uint32_t d_width, uint32_t d_height, uin
aspect_save_prescale(d_width,d_height);
aspect_save_screenres(vo_screenwidth,vo_screenheight);
- if(fullscreen&0x01) /* -fs */
+ if(fullscreen&0x01) { /* -fs */
aspect(&d_width,&d_height,A_ZOOM);
- else
+ vo_fs = VO_TRUE;
+ } else {
aspect(&d_width,&d_height,A_NOZOOM);
+ vo_fs = VO_FALSE;
+ }
printf("vo_mga aspect(): resized to %dx%d\n",d_width,d_height);
}