mirror of
https://github.com/edubart/otclient.git
synced 2025-10-17 13:03:27 +02:00
Many fixes in win32 platform
This commit is contained in:
@@ -52,6 +52,7 @@ public:
|
||||
int getLastFps() { return m_lastFps; }
|
||||
int getPartialFps() { return (int)m_partialFps; }
|
||||
int getMaxFps() { return m_maxFps; }
|
||||
int getFrames() { return m_frames; }
|
||||
float getMediumFrameDelay() { return m_mediumFrameDelay; }
|
||||
|
||||
private:
|
||||
|
@@ -108,8 +108,7 @@ void GraphicalApplication::run()
|
||||
|
||||
g_lua.callGlobalField("g_app", "onRun");
|
||||
|
||||
// show the application only after we draw some frames
|
||||
g_dispatcher.scheduleEvent([] { g_window.show(); }, 10);
|
||||
g_window.show();
|
||||
|
||||
while(!m_stopping) {
|
||||
// poll all events before rendering
|
||||
|
Reference in New Issue
Block a user