mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 09:52:27 -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);
|
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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user