diff options
author | Mitchell Stokes <mogurijin@gmail.com> | 2012-08-19 03:46:37 +0400 |
---|---|---|
committer | Mitchell Stokes <mogurijin@gmail.com> | 2012-08-19 03:46:37 +0400 |
commit | e4a6602a9ac9c7d43a882770f19323b6d5616a4b (patch) | |
tree | 9963ab4f020db422d92671f7a6c5544c9bf5ca1d /source/gameengine/GamePlayer/ghost/GPG_ghost.cpp | |
parent | 4120c18c47d111b6988297a3d6d4daaa7624fb43 (diff) |
Fix for [#32361] "Blenderplayer quad-buffer maximum 100Hz Fps" reported by HG1.
Allowing the Blenderplayer to break 100fps by making it less dependent on Ghost's messages.
Diffstat (limited to 'source/gameengine/GamePlayer/ghost/GPG_ghost.cpp')
-rw-r--r-- | source/gameengine/GamePlayer/ghost/GPG_ghost.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/gameengine/GamePlayer/ghost/GPG_ghost.cpp b/source/gameengine/GamePlayer/ghost/GPG_ghost.cpp index 025611972ce..63f2988e259 100644 --- a/source/gameengine/GamePlayer/ghost/GPG_ghost.cpp +++ b/source/gameengine/GamePlayer/ghost/GPG_ghost.cpp @@ -970,6 +970,8 @@ int main(int argc, char** argv) { system->processEvents(false); system->dispatchEvents(); + app.EngineNextFrame(); + if ((exitcode = app.getExitRequested())) { run = false; |