summaryrefslogtreecommitdiffstats
path: root/src/skel/win/win.cpp
diff options
context:
space:
mode:
authoreray orçunus <erayorcunus@gmail.com>2020-03-29 17:26:23 +0200
committereray orçunus <erayorcunus@gmail.com>2020-03-29 18:02:26 +0200
commita3b519ea6420ea6fb7fbd35cd25fbc329fab5086 (patch)
tree02ce17141daf511a93118c65889b5832032e0d16 /src/skel/win/win.cpp
parentLimit frontend FPS to 100 (diff)
downloadre3-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/win.cpp')
-rw-r--r--src/skel/win/win.cpp6
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 )