mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-04-30 19:24:20 +00:00
SDL_pixels.c (SDL_MasksToPixelFormatEnum): add missing break to switch.
Hand-picked from commit ec58a817ef
This commit is contained in:
@@ -436,6 +436,7 @@ SDL_MasksToPixelFormatEnum(int bpp, Uint32 Rmask, Uint32 Gmask, Uint32 Bmask,
|
||||
return SDL_PIXELFORMAT_RGB24;
|
||||
#endif
|
||||
}
|
||||
break;
|
||||
case 32:
|
||||
if (Rmask == 0) {
|
||||
return SDL_PIXELFORMAT_RGB888;
|
||||
|
||||
Reference in New Issue
Block a user