Browse Source

display: Extra spam message about what window a flip is done for

rdb 3 years ago
parent
commit
d98f966693
1 changed files with 2 additions and 1 deletions
  1. 2 1
      panda/src/display/graphicsEngine.cxx

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

@@ -1678,7 +1678,8 @@ draw_bins(const GraphicsEngine::Windows &wlist, Thread *current_thread) {
       if (host->flip_ready()) {
         if (display_cat.is_spam()) {
           display_cat.spam()
-            << "Flipping window " << win->get_name() << "\n";
+            << "Flipping window " << host->get_name()
+            << " before drawing window " << win->get_name() << "\n";
         }
         {
           // We can't use a PStatGPUTimer before begin_frame, so when using