mirror of
				https://github.com/libsdl-org/SDL.git
				synced 2025-10-26 12:27:44 +00:00 
			
		
		
		
	examples: Fix some window titles in the demos.
This commit is contained in:
		| @@ -316,7 +316,7 @@ SDL_AppResult SDL_AppInit(void **appstate, int argc, char *argv[]) | ||||
|  | ||||
|     *appstate = as; | ||||
|  | ||||
|     if (!SDL_CreateWindowAndRenderer("examples/game/snake", SDL_WINDOW_WIDTH, SDL_WINDOW_HEIGHT, 0, &as->window, &as->renderer)) { | ||||
|     if (!SDL_CreateWindowAndRenderer("examples/demo/snake", SDL_WINDOW_WIDTH, SDL_WINDOW_HEIGHT, 0, &as->window, &as->renderer)) { | ||||
|         return SDL_APP_FAILURE; | ||||
|     } | ||||
|  | ||||
|   | ||||
| @@ -347,7 +347,7 @@ SDL_AppResult SDL_AppInit(void **appstate, int argc, char *argv[]) | ||||
|     if (!SDL_Init(SDL_INIT_VIDEO)) { | ||||
|         return SDL_APP_FAILURE; | ||||
|     } | ||||
|     if (!SDL_CreateWindowAndRenderer("examples/game/woodeneye-008", 640, 480, 0, &as->window, &as->renderer)) { | ||||
|     if (!SDL_CreateWindowAndRenderer("examples/demo/woodeneye-008", 640, 480, 0, &as->window, &as->renderer)) { | ||||
|         return SDL_APP_FAILURE; | ||||
|     } | ||||
|  | ||||
|   | ||||
| @@ -139,7 +139,7 @@ SDL_AppResult SDL_AppInit(void **appstate, int argc, char *argv[]) | ||||
|         return SDL_APP_FAILURE; | ||||
|     } | ||||
|  | ||||
|     if (!SDL_CreateWindowAndRenderer("examples/game/03-infinite-monkeys", 640, 480, 0, &window, &renderer)) { | ||||
|     if (!SDL_CreateWindowAndRenderer("examples/demo/infinite-monkeys", 640, 480, 0, &window, &renderer)) { | ||||
|         SDL_Log("Couldn't create window/renderer: %s", SDL_GetError()); | ||||
|         return SDL_APP_FAILURE; | ||||
|     } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Ryan C. Gordon
					Ryan C. Gordon