don't try to delete the reference-counted WindowFramework

This commit is contained in:
David Rose 2004-02-09 17:00:29 +00:00
parent e331584369
commit 4f8349a5bf

View File

@ -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;
} }