Many fixes in win32 platform

This commit is contained in:
Eduardo Bart
2012-08-20 18:53:06 -03:00
parent d1d8b79edc
commit ddd3f84ad7
8 changed files with 95 additions and 51 deletions

View File

@@ -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:

View File

@@ -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