src/video/SDL_pixels.c
changeset 5438 b705640cb34a
parent 5437 ce10653e370c
child 5439 3a778c6c0269
     1.1 --- a/src/video/SDL_pixels.c	Mon Mar 07 00:08:23 2011 -0800
     1.2 +++ b/src/video/SDL_pixels.c	Mon Mar 07 00:30:05 2011 -0800
     1.3 @@ -242,9 +242,11 @@
     1.4  {
     1.5      switch (bpp) {
     1.6      case 1:
     1.7 +        /* SDL defaults to MSB ordering */
     1.8 +        return SDL_PIXELFORMAT_INDEX1MSB;
     1.9      case 4:
    1.10 -        /* Can't tell if this is LSB or MSB bitmap ordering... */
    1.11 -        break;
    1.12 +        /* SDL defaults to MSB ordering */
    1.13 +        return SDL_PIXELFORMAT_INDEX4MSB;
    1.14      case 8:
    1.15          if (Rmask == 0) {
    1.16              return SDL_PIXELFORMAT_INDEX8;