diff src/video/SDL_rect.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 29cc9e9c76bd
children 99210400e8b9
line wrap: on
line diff
--- a/src/video/SDL_rect.c	Mon Sep 10 12:11:40 2007 +0000
+++ b/src/video/SDL_rect.c	Mon Sep 10 12:20:02 2007 +0000
@@ -143,7 +143,6 @@
     dirty->rect = *rect;
     dirty->next = list->list;
     list->list = dirty;
-    ++list->count;
 }
 
 void
@@ -164,7 +163,6 @@
         list->free = list->list;
     }
     list->list = NULL;
-    list->count = 0;
 }
 
 void