mirror of
https://github.com/yawut/SDL.git
synced 2026-08-20 07:44:03 -05:00
Fixed bug 1635 - SDL_ConvertPixels - missing break
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user