changeset 1588 | e20dcef5647c |
parent 1402 | d910939febfa |
child 1659 | 14717b52abc0 |
1.1 --- a/src/video/directfb/SDL_DirectFB_video.c Wed Mar 22 09:13:10 2006 +0000 1.2 +++ b/src/video/directfb/SDL_DirectFB_video.c Wed Mar 22 09:18:10 2006 +0000 1.3 @@ -1082,7 +1082,7 @@ 1.4 { 1.5 struct DirectFBEnumRect *rect = enumlist; 1.6 1.7 - if (this->screen->hwdata) 1.8 + if (this->screen && this->screen->hwdata) 1.9 { 1.10 IDirectFBSurface *surface = this->screen->hwdata->surface; 1.11 IDirectFBPalette *palette = this->screen->hwdata->palette;