Skip to content

Commit

Permalink
Oppsie, wrong name
Browse files Browse the repository at this point in the history
  • Loading branch information
cheyao committed May 29, 2024
1 parent 703c8ed commit 668af54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/IMG_png.c
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ static void LIBPNG_LoadPNG_IO(SDL_IOStream *src, struct loadpng_vars *vars)
format = SDL_PIXELFORMAT_XRGB1555;
break;
case 16:
format = SDL_PIXELFORMAT_XRGB8888;
format = SDL_PIXELFORMAT_RGB565;
break;

default:
Expand Down

0 comments on commit 668af54

Please sign in to comment.