SDL_pixels.c (SDL_MasksToPixelFormatEnum): add missing break to switch.
Hand-picked from commit ec58a817ef
This commit is contained in:
parent
8b696541ed
commit
6539b70062
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue