diff options
author | eray orçunus <erayorcunus@gmail.com> | 2020-03-29 17:26:23 +0200 |
---|---|---|
committer | eray orçunus <erayorcunus@gmail.com> | 2020-03-29 18:02:26 +0200 |
commit | a3b519ea6420ea6fb7fbd35cd25fbc329fab5086 (patch) | |
tree | 02ce17141daf511a93118c65889b5832032e0d16 /src/skel/win | |
parent | Limit frontend FPS to 100 (diff) | |
download | re3-a3b519ea6420ea6fb7fbd35cd25fbc329fab5086.tar re3-a3b519ea6420ea6fb7fbd35cd25fbc329fab5086.tar.gz re3-a3b519ea6420ea6fb7fbd35cd25fbc329fab5086.tar.bz2 re3-a3b519ea6420ea6fb7fbd35cd25fbc329fab5086.tar.lz re3-a3b519ea6420ea6fb7fbd35cd25fbc329fab5086.tar.xz re3-a3b519ea6420ea6fb7fbd35cd25fbc329fab5086.tar.zst re3-a3b519ea6420ea6fb7fbd35cd25fbc329fab5086.zip |
Diffstat (limited to 'src/skel/win')
-rw-r--r-- | src/skel/win/win.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/skel/win/win.cpp b/src/skel/win/win.cpp index 4e5dccff..7993426a 100644 --- a/src/skel/win/win.cpp +++ b/src/skel/win/win.cpp @@ -2056,13 +2056,7 @@ _WinMain(HINSTANCE instance, { GetWindowPlacement(PSGLOBAL(window), &wp); - // Famous transparent menu bug. Also see the fix in Frontend.cpp -#ifdef FIX_BUGS - float ms = (float)CTimer::GetCurrentTimeInCycles() / (float)CTimer::GetCyclesPerMillisecond(); - if ((1000.0f / 100.0f) < ms && wp.showCmd != SW_SHOWMINIMIZED) -#else if (wp.showCmd != SW_SHOWMINIMIZED) -#endif RsEventHandler(rsFRONTENDIDLE, nil); if ( !FrontEndMenuManager.m_bMenuActive || FrontEndMenuManager.m_bLoadingSavedGame ) |