diff --git a/BBGE/Window_SDL2.cpp b/BBGE/Window_SDL2.cpp index 6f5f764..1263639 100644 --- a/BBGE/Window_SDL2.cpp +++ b/BBGE/Window_SDL2.cpp @@ -163,7 +163,7 @@ void Window::updateSize() bool Window::isDesktopResolution() const { - return !!(SDL_GetWindowFlags(WIN) & (SDL_WINDOW_MAXIMIZED || SDL_WINDOW_FULLSCREEN_DESKTOP)); + return !!(SDL_GetWindowFlags(WIN) & (SDL_WINDOW_MAXIMIZED | SDL_WINDOW_FULLSCREEN_DESKTOP)); } void Window::setGrabInput(bool on)