Hi all,
I am initing SDL with the SDL_INIT_NOPARACHUTE, but it refuse to works
as expected.
Are you making any call to SDL_Init() that doesn’t have the NOPARACHUTE
flags? Right now, SDL_INIT_NOPARACHUTE isn’t saved for future calls to
SDL_Init().
See ya!
-Sam Lantinga, Lead Programmer, Loki Entertainment Software
Hi all,
I am initing SDL with the SDL_INIT_NOPARACHUTE, but it refuse to
works
as expected.
Are you making any call to SDL_Init() that doesn’t have the
NOPARACHUTE
flags? Right now, SDL_INIT_NOPARACHUTE isn’t saved for future calls
to
SDL_Init().
I have switched to SDL_InitSubSystem,
Should I also pass SDL_INIT_NOPARACHUTE to it?
Do you think is a good movement for my project to make users to use
SDL-1.1.6 or better?
Ok, I have done it, and it keep the same behaviour, I think that it
only happens on Windows as in Linux I get a correct behaviour.
Ahh, I know what’s happening.
Just add: signal(SIGSEGV, SIG_DFL);
somewhere in your code.
The WinMain() call in SDL_main.c is calling SDL_Init() without passing
SDL_INIT_NOPARACHUTE. I’ll fix that, but in the meantime using signal()
to override the signal handler should work fine.
See ya!
-Sam Lantinga, Lead Programmer, Loki Entertainment Software