X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Source%2FGameDraw.cpp;h=16d845a53b35d1ee0126818af9a8123ee56c81ae;hb=b647e4eb105d00bdbf2c8e39b5ae3cf7700c08aa;hp=700ef1190ca9d70121cfdc638c2bba8471ecb04f;hpb=802fce8f16e4781feec4529a5fe8eb6d72aaf0aa;p=lugaru.git diff --git a/Source/GameDraw.cpp b/Source/GameDraw.cpp index 700ef11..16d845a 100644 --- a/Source/GameDraw.cpp +++ b/Source/GameDraw.cpp @@ -2218,6 +2218,10 @@ int Game::DrawGLScene(void) } if(mainmenu){ +#if USE_SDL + // !!! FIXME: hack: clamp framerate in menu so text input works correctly on fast systems. + SDL_Delay(15); +#endif glDrawBuffer(GL_BACK); glReadBuffer(GL_BACK); glTexEnvi( GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, GL_MODULATE );