display: fix assert when window fails to open

The assert is being triggered because the window is already being removed in open_windows.  It does not really matter if it returns false anyway, as long as the window is removed one way or another.
This commit is contained in:
rdb 2018-06-03 22:33:59 +02:00
parent d8bf9d4b55
commit eb960669a5

View File

@ -445,8 +445,7 @@ make_output(GraphicsPipe *pipe,
} }
// No good; delete the window and keep trying. // No good; delete the window and keep trying.
bool removed = remove_window(window); remove_window(window);
nassertr(removed, NULL);
} }
} }