Fixed bug 1635 - SDL_ConvertPixels - missing break
authorSam Lantinga <slouken@libsdl.org>
Wed, 07 Nov 2012 20:17:07 -0800
changeset 66632cbffb5aa19d
parent 6662 698c2e533a7e
child 6664 2deb17aefbaf
Fixed bug 1635 - SDL_ConvertPixels - missing break
src/video/SDL_surface.c
     1.1 --- a/src/video/SDL_surface.c	Wed Nov 07 15:55:43 2012 -0800
     1.2 +++ b/src/video/SDL_surface.c	Wed Nov 07 20:17:07 2012 -0800
     1.3 @@ -947,6 +947,7 @@
     1.4              case SDL_PIXELFORMAT_UYVY:
     1.5              case SDL_PIXELFORMAT_YVYU:
     1.6                  bpp = 2;
     1.7 +                break;
     1.8              default:
     1.9                  SDL_SetError("Unknown FOURCC pixel format");
    1.10                  return -1;