Browse Source

fix leak of removed windows and buffers

David Rose 18 years ago
parent
commit
b7316b8066
1 changed files with 1 additions and 0 deletions
  1. 1 0
      panda/src/display/graphicsEngine.cxx

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

@@ -663,6 +663,7 @@ render_frame() {
       }
     }
   }
+  _windows.swap(new_windows);
 
   // Now it's time to do any drawing from the main frame--after all of
   // the App code has executed, but before we begin the next frame.