Render statistics now shows actual SwapBuffers() calls per second

This commit is contained in:
Lukas Matena 2021-07-21 10:16:00 +02:00
parent 3449550a7c
commit a54f5fb41a
5 changed files with 18 additions and 46 deletions

View file

@ -403,10 +403,8 @@ public:
bool inside_snapshot_capture();
#if ENABLE_RENDER_STATISTICS
void toggle_render_statistic_dialog();
bool is_render_statistic_dialog_visible() const;
#endif // ENABLE_RENDER_STATISTICS
// Wrapper around wxWindow::PopupMenu to suppress error messages popping out while tracking the popup menu.
bool PopupMenu(wxMenu *menu, const wxPoint& pos = wxDefaultPosition);