Mercurial > sdl-ios-xcode
view src/main/dummy/SDL_dummy_main.c @ 759:26ac9609211f
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
author | Ryan C. Gordon <icculus@icculus.org> |
---|---|
date | Mon, 22 Dec 2003 01:21:20 +0000 |
parents | 623b453a3219 |
children | 96ba4eab74fb |
line wrap: on
line source
/* Include the SDL main definition header */ #include "SDL_main.h" #ifdef main #undef main #endif int main(int argc, char *argv[]) { return(SDL_main(argc, argv)); }