Fixed compile warnings with Visual C++
--HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402590
This commit is contained in:
parent
7d034dcfb1
commit
4b1e7aae98
3 changed files with 2 additions and 1 deletions
|
@ -704,7 +704,6 @@ SDL_UpdateRects(SDL_Surface * screen, int numrects, SDL_Rect * rects)
|
|||
SDL_DirtyTexture(SDL_VideoTexture, numrects, rects);
|
||||
} else {
|
||||
/* The surface memory needs to be copied to texture */
|
||||
void *pixels;
|
||||
int pitch = screen->pitch;
|
||||
int psize = screen->format->BytesPerPixel;
|
||||
for (i = 0; i < numrects; ++i) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue