Fixed const/non-const warning

This commit is contained in:
Sam Lantinga 2013-10-03 03:31:05 -07:00
parent 1df1e69691
commit 1f21484bdd
1 changed files with 2 additions and 1 deletions

View File

@ -1190,7 +1190,8 @@ SDL_SW_UpdateYUVTexturePlanar(SDL_SW_YUVTexture * swdata, const SDL_Rect * rect,
const Uint8 *Uplane, int Upitch, const Uint8 *Uplane, int Upitch,
const Uint8 *Vplane, int Vpitch) const Uint8 *Vplane, int Vpitch)
{ {
Uint8 *src, *dst; const Uint8 *src;
Uint8 *dst;
int row; int row;
size_t length; size_t length;