Split out the SDL_rect and SDL_surface functions into their own headers.

Removed unused count from the dirty rect list.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402639
This commit is contained in:
Sam Lantinga 2007-09-10 12:20:02 +00:00
parent fa9233eaca
commit 68d2b55278
8 changed files with 705 additions and 556 deletions

View file

@ -806,7 +806,7 @@ GL_RenderCopy(SDL_Renderer * renderer, SDL_Texture * texture,
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);