diff src/video/directfb/SDL_DirectFB_video.c @ 893:8762a202f121

Fixed crash on exit
author Sam Lantinga <slouken@libsdl.org>
date Sun, 16 May 2004 19:02:19 +0000
parents 7ac8ec80ea68
children 012af0b7e8e6
line wrap: on
line diff
--- a/src/video/directfb/SDL_DirectFB_video.c	Sun May 16 18:46:24 2004 +0000
+++ b/src/video/directfb/SDL_DirectFB_video.c	Sun May 16 19:02:19 2004 +0000
@@ -1104,9 +1104,6 @@
       HIDDEN->c2frame = NULL;
     }
 
-  this->screen->hwdata->surface = NULL;
-  this->screen->hwdata->palette = NULL;
-
   if (HIDDEN->eventbuffer)
     {
       HIDDEN->eventbuffer->Release (HIDDEN->eventbuffer);