mirror of
https://github.com/glest/glest-source.git
synced 2025-08-16 13:23:59 +02:00
SDL Bugfix to work with Windows and Linux
This commit is contained in:
@@ -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;
|
||||||
|
Reference in New Issue
Block a user