Browse Source

display: Don't put GPU timer around flip()

rdb 1 month ago
parent
commit
aee891d8aa
1 changed files with 1 additions and 1 deletions
  1. 1 1
      panda/src/display/graphicsEngine.cxx

+ 1 - 1
panda/src/display/graphicsEngine.cxx

@@ -1675,7 +1675,7 @@ draw_bins(const GraphicsEngine::Windows &wlist, Thread *current_thread) {
               display_cat.spam()
                 << "Flipping window " << win->get_name() << "\n";
             }
-            PStatGPUTimer timer(gsg, _flip_pcollector, current_thread);
+            PStatTimer timer(_flip_pcollector, current_thread);
             win->begin_flip();
             win->end_flip();
           }