SDL_pixels.c: Fixed compiler warning on Android NDK.

main
Ryan C. Gordon 2023-07-26 15:48:44 -04:00
parent ad0c0d3cde
commit bce598addd
No known key found for this signature in database
GPG Key ID: FA148B892AB48044
1 changed files with 1 additions and 3 deletions

View File

@ -314,10 +314,8 @@ Uint32 SDL_GetPixelFormatEnumForMasks(int bpp, Uint32 Rmask, Uint32 Gmask, Uint3
Bmask == 0x03 &&
Amask == 0x00) {
return SDL_PIXELFORMAT_RGB332;
} else {
return SDL_PIXELFORMAT_INDEX8;
}
break;
return SDL_PIXELFORMAT_INDEX8;
case 12:
if (Rmask == 0) {
return SDL_PIXELFORMAT_RGB444;