fix: avoid editor viewport resize deadlock
This commit is contained in:
@@ -96,6 +96,10 @@ void Application::ShutdownEditorContext() {
|
||||
|
||||
void Application::RenderEditorFrame() {
|
||||
static constexpr float kClearColor[4] = { 0.22f, 0.22f, 0.22f, 1.0f };
|
||||
if (!m_windowRenderer.BeginFrame()) {
|
||||
return;
|
||||
}
|
||||
|
||||
m_imguiBackend.BeginFrame();
|
||||
m_viewportHostService.BeginFrame();
|
||||
m_layerStack.onImGuiRender();
|
||||
|
||||
Reference in New Issue
Block a user