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