Mercurial > sdl-ios-xcode
diff src/video/SDL_renderer_gl.c @ 2275:12ea0fdc0df2
Split out the SDL_rect and SDL_surface functions into their own headers.
Removed unused count from the dirty rect list.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Mon, 10 Sep 2007 12:20:02 +0000 |
parents | 75daa0792bd1 |
children | dbc6d1893869 |
line wrap: on
line diff
--- a/src/video/SDL_renderer_gl.c Mon Sep 10 12:11:40 2007 +0000 +++ b/src/video/SDL_renderer_gl.c Mon Sep 10 12:20:02 2007 +0000 @@ -806,7 +806,7 @@ int minx, miny, maxx, maxy; GLfloat minu, maxu, minv, maxv; - if (texturedata->dirty.count > 0) { + if (texturedata->dirty.list) { SDL_DirtyRect *dirty; void *pixels; int bpp = SDL_BYTESPERPIXEL(texture->format);