mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-16 00:12:51 +00:00
(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:
parent
db2f57e3a1
commit
b024134c6a
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user