comparison 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
comparison
equal deleted inserted replaced
892:dc29e5907694 893:8762a202f121
1102 { 1102 {
1103 HIDDEN->c2frame->Release (HIDDEN->c2frame); 1103 HIDDEN->c2frame->Release (HIDDEN->c2frame);
1104 HIDDEN->c2frame = NULL; 1104 HIDDEN->c2frame = NULL;
1105 } 1105 }
1106 1106
1107 this->screen->hwdata->surface = NULL;
1108 this->screen->hwdata->palette = NULL;
1109
1110 if (HIDDEN->eventbuffer) 1107 if (HIDDEN->eventbuffer)
1111 { 1108 {
1112 HIDDEN->eventbuffer->Release (HIDDEN->eventbuffer); 1109 HIDDEN->eventbuffer->Release (HIDDEN->eventbuffer);
1113 HIDDEN->eventbuffer = NULL; 1110 HIDDEN->eventbuffer = NULL;
1114 } 1111 }