Fixed crash on exit
authorSam Lantinga <slouken@libsdl.org>
Sun, 16 May 2004 19:02:19 +0000
changeset 893 8762a202f121
parent 892 dc29e5907694
child 894 1d1a823904d8
Fixed crash on exit
src/video/directfb/SDL_DirectFB_video.c
--- 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);