mirror of
https://github.com/yawut/SDL.git
synced 2026-04-24 07:16:52 -05:00
Fixed bug 1635 - SDL_ConvertPixels - missing break
This commit is contained in:
parent
d3d6706dfc
commit
cd5514f0ff
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user