Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Fixed bug 1635 - SDL_ConvertPixels - missing break
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Nov 8, 2012
1 parent e674850 commit 29f2395
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/video/SDL_surface.c
Expand Up @@ -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;
Expand Down

0 comments on commit 29f2395

Please sign in to comment.