Explorar el Código

test: Fixed wrong arguments to SDL_SetWindowFullscreen.

Ryan C. Gordon hace 3 años
padre
commit
2dd7659884
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      src/test/SDL_test_common.c

+ 2 - 2
src/test/SDL_test_common.c

@@ -1808,12 +1808,12 @@ FullscreenTo(int index, int windowId)
 
     flags = SDL_GetWindowFlags(window);
     if (flags & SDL_WINDOW_FULLSCREEN) {
-        SDL_SetWindowFullscreen( window, SDL_FALSE );
+        SDL_SetWindowFullscreen( window, 0);
         SDL_Delay( 15 );
     }
 
     SDL_SetWindowPosition( window, rect.x, rect.y );
-    SDL_SetWindowFullscreen( window, SDL_TRUE );
+    SDL_SetWindowFullscreen( window, SDL_WINDOW_FULLSCREEN );
 }
 
 void