From: Thomas Jarosch To: Ryan C. Gordon Subject: SDL: DirectFB videodriver segfault Date: Sun, 21 Dec 2003 20:40:14 +0100
From: Thomas Jarosch
To: Ryan C. Gordon
Subject: SDL: DirectFB videodriver segfault
Date: Sun, 21 Dec 2003 20:40:14 +0100

Hi Ryan,

attached is a patch to fix a segfault in DirectFB_VideoQuit.
When SetVideoMode never gets called (f.e. wrong command line arguments
for "testsprite"), this->screen->hwdata is NULL.

Cheers,
Thomas

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40760

aduros/SDL,cebash/SDL_PSL1GHT,aduros/SDL,cebash/SDL_PSL1GHT,aduros/SDL,aduros/SDL,aduros/SDL,cebash/SDL_PSL1GHT,cebash/SDL_PSL1GHT,cebash/SDL_PSL1GHT