Mercurial > sdl-ios-xcode
view Xcode-iPhoneOS/Demos/src/common.h @ 4526:c04dd942610d
Fixed bug #1000
Don't crash if someone tries to delete a context after we've unloaded the library. In this case it's SDL_compat that doesn't know SDL_VideoQuit() has been called. Hmm...
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Wed, 14 Jul 2010 07:48:35 -0700 |
parents | 20326ba2bda2 |
children |
line wrap: on
line source
/* * common.h * written by Holmes Futrell * use however you want */ #define SCREEN_WIDTH 320 #define SCREEN_HEIGHT 480 extern int randomInt(int min, int max); extern float randomFloat(float min, float max); extern void fatalError(const char *string);