diff src/video/SDL_video.c @ 1672:8e754b82cecc SDL-1.3

Updated SDL_Surface code for software-only access, fixed some build errors
author Sam Lantinga <slouken@libsdl.org>
date Fri, 09 Jun 2006 07:06:12 +0000
parents eef792d31de8
children e136f3ffdc1b
line wrap: on
line diff
--- a/src/video/SDL_video.c	Fri Jun 09 06:42:42 2006 +0000
+++ b/src/video/SDL_video.c	Fri Jun 09 07:06:12 2006 +0000
@@ -27,7 +27,6 @@
 #include "SDL_sysvideo.h"
 #include "SDL_blit.h"
 #include "SDL_pixels_c.h"
-#include "SDL_cursor_c.h"
 #include "../events/SDL_sysevents.h"
 #include "../events/SDL_events_c.h"
 
@@ -280,7 +279,6 @@
         SDL_VideoQuit();
         return -1;
     }
-    SDL_CursorInit(flags & SDL_INIT_EVENTTHREAD);
 
     /* We're ready to go! */
     return 0;
@@ -1557,7 +1555,6 @@
             SDL_free(display->windows);
             display->windows = NULL;
         }
-        SDL_free(display->info.vfmt);
     }
     _this->VideoQuit(_this);
     if (_this->displays) {