SDL Bugfix to work with Windows and Linux

This commit is contained in:
Mark Vejvoda
2010-03-17 16:40:49 +00:00
parent f0133ba260
commit 399c463f9d

View File

@@ -346,7 +346,8 @@ void Program::showMessage(const char *msg) {
//if(Socket::enableDebugText) printf("In [%s::%s %d]\n",__FILE__,__FUNCTION__,__LINE__); //if(Socket::enableDebugText) printf("In [%s::%s %d]\n",__FILE__,__FUNCTION__,__LINE__);
SDL_ShowCursor(SDL_ENABLE); showCursor(true);
//SDL_WM_ToggleFullScreen(SDL_GetVideoSurface()); //SDL_WM_ToggleFullScreen(SDL_GetVideoSurface());
ShowMessageProgramState *showMsg = new ShowMessageProgramState(this, msg); ShowMessageProgramState *showMsg = new ShowMessageProgramState(this, msg);
this->programState = showMsg; this->programState = showMsg;