[GB.SDL]
* 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:
parent
4dbca3f22d
commit
a05c17d9cc
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue