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
aa9bd2e028
commit
61a00c99b4
@ -758,7 +758,7 @@ static void Win32GdiStop(void)
|
|||||||
#if !defined(WINCE)
|
#if !defined(WINCE)
|
||||||
if (_wnd.fullscreen) ChangeDisplaySettings(NULL, 0);
|
if (_wnd.fullscreen) ChangeDisplaySettings(NULL, 0);
|
||||||
#endif
|
#endif
|
||||||
if (_double_size) {
|
if (_wnd.double_size) {
|
||||||
_cur_resolution[0] *= 2;
|
_cur_resolution[0] *= 2;
|
||||||
_cur_resolution[1] *= 2;
|
_cur_resolution[1] *= 2;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user