mirror of
https://github.com/k4zmu2a/SpaceCadetPinball.git
synced 2025-09-05 16:00:15 +02:00
Added Windows XP build configuration.
Removed unused SDL inits.
This commit is contained in:
parent
3ec96b84ad
commit
cfd30419c2
2 changed files with 13 additions and 1 deletions
|
@ -52,7 +52,8 @@ int winmain::WinMain(LPCSTR lpCmdLine)
|
|||
|
||||
// SDL init
|
||||
SDL_SetMainReady();
|
||||
if (SDL_Init(SDL_INIT_EVERYTHING) < 0)
|
||||
if (SDL_Init(SDL_INIT_TIMER | SDL_INIT_AUDIO | SDL_INIT_VIDEO |
|
||||
SDL_INIT_EVENTS | SDL_INIT_JOYSTICK | SDL_INIT_GAMECONTROLLER) < 0)
|
||||
{
|
||||
SDL_ShowSimpleMessageBox(SDL_MESSAGEBOX_ERROR, "Could not initialize SDL2", SDL_GetError(), nullptr);
|
||||
return 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue