* BUG: Remove running SDL events in a separate thread, as it give instability.


git-svn-id: svn://localhost/gambas/trunk@2512 867c0c6c-44f3-4631-809d-bfa615b0a4ec
This commit is contained in:
Laurent Carlier 2009-12-24 12:36:05 +00:00
parent 4dbca3f22d
commit a05c17d9cc

View file

@ -49,7 +49,7 @@ SDLapplication::SDLapplication(int &argc, char **argv)
// if audio is defined, sdl was init by gb.sdl.sound component !
if (sysInit & SDL_INIT_AUDIO)
{
if (SDL_InitSubSystem(SDL_INIT_VIDEO | SDL_INIT_EVENTTHREAD)<0)
if (SDL_InitSubSystem(SDL_INIT_VIDEO)<0)
{
sMsg =+ SDL_GetError();
goto _error;
@ -57,7 +57,7 @@ SDLapplication::SDLapplication(int &argc, char **argv)
}
else
{
if (SDL_Init(SDL_INIT_VIDEO | SDL_INIT_TIMER | SDL_INIT_EVENTTHREAD | SDL_INIT_NOPARACHUTE)<0)
if (SDL_Init(SDL_INIT_VIDEO | SDL_INIT_TIMER | SDL_INIT_NOPARACHUTE)<0)
{
sMsg =+ SDL_GetError();
goto _error;