Silly bug fix from Billy Biggs

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%4034
This commit is contained in:
Sam Lantinga 2001-05-22 05:06:50 +00:00
parent 2358ce3d03
commit 7e81fd927f

View file

@ -191,6 +191,7 @@ SDL_Overlay *DX5_CreateYUVOverlay(_THIS, int width, int height, Uint32 format, S
case SDL_YV12_OVERLAY:
case SDL_IYUV_OVERLAY:
overlay->planes = 3;
break;
default:
overlay->planes = 1;
break;