Added imgui debug dialog for camera statistics

This commit is contained in:
Enrico Turri 2019-05-20 09:39:57 +02:00
parent c5e4ada75b
commit 783a527109
4 changed files with 36 additions and 1 deletions

View file

@ -1700,6 +1700,10 @@ void GLCanvas3D::render()
imgui.end();
#endif // ENABLE_RENDER_STATISTICS
#if ENABLE_CAMERA_STATISTICS
m_camera.debug_render();
#endif // ENABLE_CAMERA_STATISTICS
wxGetApp().imgui()->render();
m_canvas->SwapBuffers();