update sdl to 2.26.5

This commit is contained in:
AzaezelX 2023-05-27 10:16:20 -05:00
parent 0d981b62cf
commit 0e44e165bd
1260 changed files with 290370 additions and 124892 deletions

View file

@ -183,7 +183,7 @@ loadFont(void)
SDL_BlitSurface(surface, NULL, converted, NULL);
/* create our texture */
texture = SDL_CreateTextureFromSurface(renderer, converted);
if (texture == 0) {
if (!texture) {
printf("texture creation failed: %s\n", SDL_GetError());
} else {
/* set blend mode for our texture */