changeset 18089:3e8c2b5c60a5

10l, forgot to move aspect_save_screenres in last commit
author reimar
date Fri, 14 Apr 2006 11:23:03 +0000
parents 18d57fb6d320
children dc2e96cb4865
files libvo/w32_common.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/w32_common.c	Fri Apr 14 10:57:41 2006 +0000
+++ b/libvo/w32_common.c	Fri Apr 14 11:23:03 2006 +0000
@@ -148,7 +148,6 @@
     vo_screenwidth = dm.dmPelsWidth;
     vo_screenheight = dm.dmPelsHeight;
     vo_depthonscreen = dm.dmBitsPerPel;
-    aspect_save_screenres(vo_screenwidth, vo_screenheight);
     vo_screenx = vo_screeny = 0;
     if (myMonitorFromWindow && myGetMonitorInfo) {
         MONITORINFO mi;
@@ -160,6 +159,7 @@
         vo_screenwidth = mi.rcMonitor.right - mi.rcMonitor.left;
         vo_screenheight = mi.rcMonitor.bottom - mi.rcMonitor.top;
     }
+    aspect_save_screenres(vo_screenwidth, vo_screenheight);
 }
 
 static void changeMode(void) {