mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 00:32:57 -04:00
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:
parent
d8bf9d4b55
commit
eb960669a5
@ -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);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user