Bläddra i källkod

don't try to delete the reference-counted WindowFramework

David Rose 22 år sedan
förälder
incheckning
4f8349a5bf
1 ändrade filer med 0 tillägg och 1 borttagningar
  1. 0 1
      panda/src/framework/pandaFramework.cxx

+ 0 - 1
panda/src/framework/pandaFramework.cxx

@@ -261,7 +261,6 @@ open_window(const WindowProperties &props, GraphicsPipe *pipe,
   GraphicsWindow *win = wf->open_window(props, &_engine, pipe, gsg);
   GraphicsWindow *win = wf->open_window(props, &_engine, pipe, gsg);
   if (win == (GraphicsWindow *)NULL) {
   if (win == (GraphicsWindow *)NULL) {
     // Oops, couldn't make an actual window.
     // Oops, couldn't make an actual window.
-    delete wf;
     return NULL;
     return NULL;
   }
   }