mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 17:35:34 -04:00
don't try to delete the reference-counted WindowFramework
This commit is contained in:
parent
e331584369
commit
4f8349a5bf
@ -261,7 +261,6 @@ open_window(const WindowProperties &props, GraphicsPipe *pipe,
|
||||
GraphicsWindow *win = wf->open_window(props, &_engine, pipe, gsg);
|
||||
if (win == (GraphicsWindow *)NULL) {
|
||||
// Oops, couldn't make an actual window.
|
||||
delete wf;
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user