Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ldjam56: Close the fake imgui render iteration on failure
We keep a "window" between imgui_render_begin() and imgui_render() during initialization, so that any early ImGui calls don't abort. In case of partial initialization failure, we still need to close this window before imgui_render_begin() gets called again from render_frame() and trips an assert in ImGui. Fix this. Signed-off-by: Alexander Shishkin <[email protected]>
- Loading branch information