examples: Fix some window titles in the demos.

This commit is contained in:
Ryan C. Gordon 2024-12-05 23:53:27 -05:00
parent 7ddda4fe18
commit e50dc7265b
No known key found for this signature in database
GPG key ID: FA148B892AB48044
3 changed files with 3 additions and 3 deletions

View file

@ -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;
}