src/video/SDL_pixels.c
changeset 5437 ce10653e370c
parent 5436 29977c050731
child 5438 b705640cb34a
--- a/src/video/SDL_pixels.c	Sun Mar 06 23:56:23 2011 -0800
+++ b/src/video/SDL_pixels.c	Mon Mar 07 00:08:23 2011 -0800
@@ -241,6 +241,10 @@
                            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;