mirror of
https://github.com/blupi-games/planetblupi
synced 2024-12-30 10:15:36 +01:00
Force the display 0 on windows only with the native 640x480 resolution
This commit is contained in:
parent
ab39906c5e
commit
fc977d926e
@ -1729,9 +1729,10 @@ CEvent::SetFullScreen (bool bFullScreen, double prevScale)
|
||||
|
||||
g_bFullScreen = bFullScreen;
|
||||
|
||||
int displayIndex = 0;
|
||||
#ifndef _WIN32
|
||||
displayIndex = SDL_GetWindowDisplayIndex (g_window);
|
||||
int displayIndex = SDL_GetWindowDisplayIndex (g_window);
|
||||
#ifdef _WIN32
|
||||
if (g_zoom == 2)
|
||||
displayIndex = 0;
|
||||
#endif /* _WIN32 */
|
||||
|
||||
if (g_bFullScreen && g_zoom == 2)
|
||||
|
Loading…
x
Reference in New Issue
Block a user