diff --git a/source/code/main.cpp b/source/code/main.cpp index 6fac2d7..2bb033a 100644 --- a/source/code/main.cpp +++ b/source/code/main.cpp @@ -280,7 +280,7 @@ void ResetFullscreen() { //SDL_WM_ToggleFullScreen(screen); //Will only work in Linux #endif if (bFullscreen) { - SDL_SetWindowFullscreen(sdlWindow, SDL_WINDOW_FULLSCREEN_DESKTOP); + SDL_SetWindowFullscreen(sdlWindow, SDL_WINDOW_FULLSCREEN /*_DESKTOP*/); } else { SDL_SetWindowFullscreen(sdlWindow, 0); @@ -1800,7 +1800,7 @@ int main(int argc, char* argv[]) { //Open video int createWindowParams = 0; //SDL_WINDOW_RESIZABLE; if ((bFullscreen)&&(!singlePuzzle)) { - createWindowParams |= SDL_WINDOW_FULLSCREEN_DESKTOP; + createWindowParams |= SDL_WINDOW_FULLSCREEN; } sdlWindow = SDL_CreateWindow("Block Attack - Rise of the Blocks", @@ -1950,10 +1950,8 @@ int runGame(int gametype, int level) { cout << "Starting game loop" << endl; } - bool mustsetupgame = true; - while (done == 0) { if (mustsetupgame) { registerEndlessHighscore = false;