Ensure no GL commands are executed after pause

This commit is contained in:
John Firebaugh
2015-05-04 18:27:48 -07:00
parent da8aaa2114
commit 00a1f44cfc
5 changed files with 10 additions and 12 deletions

View File

@@ -40,7 +40,7 @@ public:
void destroySurface();
void resume();
void pause(bool waitForPause = false);
void pause();
void enableFps(bool enable);
void updateFps();

View File

@@ -36,7 +36,7 @@ public:
~Map();
// Pauses the render thread. The render thread will stop running but will not be terminated and will not lose state until resumed.
void pause(bool waitForPause = false);
void pause();
// Resumes a paused render thread
void resume();