Silly bug fix from Billy Biggs

This commit is contained in:
Sam Lantinga
2001-05-22 05:06:50 +00:00
parent bca6dd54b8
commit 9095cc7e0b

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;