(svn r8994) -Fix [FS642, r3320]: [win32] Resolution doubled in cfg file when fullscreen mode used. Use _wnd.double_size which gives back its correct state with respect to double size and fullscreen.

This commit is contained in:
Darkvater 2007-03-03 13:13:25 +00:00
parent db2f57e3a1
commit b024134c6a

View File

@ -758,7 +758,7 @@ static void Win32GdiStop(void)
#if !defined(WINCE)
if (_wnd.fullscreen) ChangeDisplaySettings(NULL, 0);
#endif
if (_double_size) {
if (_wnd.double_size) {
_cur_resolution[0] *= 2;
_cur_resolution[1] *= 2;
}