changeset 2228 | bb67fd5ccfdb |
parent 2226 | 0e70b4b8cf84 |
child 2240 | eebaa05f8bd9 |
--- a/src/SDL_compat.c Sat Aug 11 23:26:03 2007 +0000 +++ b/src/SDL_compat.c Sun Aug 12 00:01:41 2007 +0000 @@ -704,7 +704,6 @@ 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) {