mirror of
				https://github.com/libsdl-org/SDL.git
				synced 2025-10-26 12:27:44 +00:00 
			
		
		
		
	tests: Fix get/set window size test being skipped
A return check conversion was missed when the SDL_* functions were converted to return boolean values instead of int, which caused this test to be skipped.
This commit is contained in:
		| @@ -1026,7 +1026,7 @@ static int SDLCALL video_getSetWindowSize(void *arg) | |||||||
|     } |     } | ||||||
|  |  | ||||||
|     SDL_GetWindowSize(window, ¤tW, ¤tH); |     SDL_GetWindowSize(window, ¤tW, ¤tH); | ||||||
|     if (SDL_SetWindowSize(window, currentW, currentH)) { |     if (!SDL_SetWindowSize(window, currentW, currentH)) { | ||||||
|         SDLTest_Log("Skipping window resize tests: %s reports window resizing as unsupported", SDL_GetCurrentVideoDriver()); |         SDLTest_Log("Skipping window resize tests: %s reports window resizing as unsupported", SDL_GetCurrentVideoDriver()); | ||||||
|         goto null_tests; |         goto null_tests; | ||||||
|     } |     } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Frank Praznik
					Frank Praznik