changeset 15573:5db3dd72c876

Fix pan-scan in fullscreen mode
author nplourde
date Thu, 26 May 2005 16:33:28 +0000
parents 5d738acd664c
children 0feaed9986d3
files libvo/vo_macosx.m
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vo_macosx.m	Thu May 26 11:23:15 2005 +0000
+++ b/libvo/vo_macosx.m	Thu May 26 16:33:28 2005 +0000
@@ -666,6 +666,8 @@
 	static NSRect old_view_frame;
 	NSRect device_rect = [[window screen] frame];
 
+	panscan_calc();
+			
 	//go fullscreen
 	if(vo_fs)
 	{
@@ -677,7 +679,6 @@
 			mouseHide = YES;
 		}
 		
-		panscan_calc();
 		old_frame = [window frame];	//save main window size & position
 		[window setFrame:device_rect display:YES animate:animate]; //zoom-in window with nice useless sfx
 		old_view_frame = [self bounds];