Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Fixed bug 1635 - SDL_ConvertPixels - missing break

  • Loading branch information
slouken committed Nov 8, 2012
1 parent e674850 commit 29f2395d8336d98d5c2e396817aa1be2f2e0556f
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/video/SDL_surface.c
@@ -947,6 +947,7 @@ int SDL_ConvertPixels(int width, int height,
case SDL_PIXELFORMAT_UYVY:
case SDL_PIXELFORMAT_YVYU:
bpp = 2;
break;
default:
SDL_SetError("Unknown FOURCC pixel format");
return -1;

0 comments on commit 29f2395

Please sign in to comment.