diff --git a/src/video/SDL_pixels.c b/src/video/SDL_pixels.c index e667f0952..85f860b86 100644 --- a/src/video/SDL_pixels.c +++ b/src/video/SDL_pixels.c @@ -241,6 +241,10 @@ SDL_MasksToPixelFormatEnum(int bpp, Uint32 Rmask, Uint32 Gmask, Uint32 Bmask, Uint32 Amask) { switch (bpp) { + case 1: + case 4: + /* Can't tell if this is LSB or MSB bitmap ordering... */ + break; case 8: if (Rmask == 0) { return SDL_PIXELFORMAT_INDEX8;