Mercurial > projects > mde
diff mde/init.d @ 9:1885a9080f2a
Joystick button input now works with config.
committer: Diggory Hardy <diggory.hardy@gmail.com>
author | Diggory Hardy <diggory.hardy@gmail.com> |
---|---|
date | Wed, 30 Jan 2008 11:33:56 +0000 |
parents | f63f4f41a2dc |
children | 4c3575400769 |
line wrap: on
line diff
--- a/mde/init.d Fri Jan 25 18:17:38 2008 +0000 +++ b/mde/init.d Wed Jan 30 11:33:56 2008 +0000 @@ -87,8 +87,8 @@ return; } logger.info ("Derelict: loaded SDL"); - - if (SDL_Init (SDL_INIT_VIDEO | SDL_INIT_JOYSTICK)) { + + if (SDL_Init (SDL_INIT_VIDEO | SDL_INIT_JOYSTICK /+| SDL_INIT_EVENTTHREAD+/)) { logger.fatal ("SDL initialisation failed:"); char* msg = SDL_GetError (); logger.fatal (msg ? fromUtf8z(msg) : "no reason available"); @@ -97,7 +97,7 @@ return; } - SDL_SetVideoMode (800, 600, 32, 0); + SDL_SetVideoMode (800, 600, 0, 0); addCleanupFct (&cleanupSDL); logger.info ("SDL initialised");