- removed SDL_INIT in guiscreen.cpp

git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6003 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 331042f7ba1cc9b4b5a91e2b57ee1673df046f3a
Former-commit-id: 3a87162d79ba47d133b5fe5d6a3ae99399cd0bd3
This commit is contained in:
torcs-ng 2015-05-04 19:30:58 +00:00
parent 865244de56
commit 9fa7803b41

View file

@ -404,11 +404,11 @@ static void gfScrReshapeViewport(int width, int height)
bool GfScrInit(int nWinWidth, int nWinHeight, int nFullScreen) bool GfScrInit(int nWinWidth, int nWinHeight, int nFullScreen)
{ {
if (SDL_Init(SDL_INIT_EVERYTHING) != 0) /*if (SDL_Init(SDL_INIT_EVERYTHING) != 0)
{ {
GfLogError("\nUnable to initialize SDL: (%s)\n", SDL_GetError()); GfLogError("\nUnable to initialize SDL: (%s)\n", SDL_GetError());
return false; return false;
} }*/
// Initialize SDL video subsystem (and exit if not supported). // Initialize SDL video subsystem (and exit if not supported).
if (SDL_InitSubSystem(SDL_INIT_VIDEO | SDL_INIT_AUDIO) < 0) if (SDL_InitSubSystem(SDL_INIT_VIDEO | SDL_INIT_AUDIO) < 0)