diff --git a/examples/05-instancing/instancing.cpp b/examples/05-instancing/instancing.cpp index f485517e8..dbb05188d 100644 --- a/examples/05-instancing/instancing.cpp +++ b/examples/05-instancing/instancing.cpp @@ -303,13 +303,15 @@ public: } } } + + // Advance to next frame. Rendering thread will be kicked to + // process submitted rendering primitives. + bgfx::frame(); + + return true; } - // Advance to next frame. Rendering thread will be kicked to - // process submitted rendering primitives. - bgfx::frame(); - - return true; + return false; } entry::MouseState m_mouseState;