From 399c463f9d6f9e090c78cf85452cb032a2ab7f8c Mon Sep 17 00:00:00 2001 From: Mark Vejvoda Date: Wed, 17 Mar 2010 16:40:49 +0000 Subject: [PATCH] SDL Bugfix to work with Windows and Linux --- source/glest_game/main/program.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/glest_game/main/program.cpp b/source/glest_game/main/program.cpp index b674d98c5..d6bb1bace 100644 --- a/source/glest_game/main/program.cpp +++ b/source/glest_game/main/program.cpp @@ -346,7 +346,8 @@ void Program::showMessage(const char *msg) { //if(Socket::enableDebugText) printf("In [%s::%s %d]\n",__FILE__,__FUNCTION__,__LINE__); - SDL_ShowCursor(SDL_ENABLE); + showCursor(true); + //SDL_WM_ToggleFullScreen(SDL_GetVideoSurface()); ShowMessageProgramState *showMsg = new ShowMessageProgramState(this, msg); this->programState = showMsg;