From e5783e4586f7362bbd3b20215a03fb7aa16d45bb Mon Sep 17 00:00:00 2001 From: Miouzora Date: Wed, 6 Nov 2024 20:13:22 +0900 Subject: [PATCH] fix: update ES::Plugin::Wrapper::Result to NeedResize rather than Failure --- app/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/main.cpp b/app/main.cpp index d4c9165..7ccbfd6 100644 --- a/app/main.cpp +++ b/app/main.cpp @@ -34,7 +34,7 @@ int main() { glfwPollEvents(); - if (vkWrapper.DrawFrame() == ES::Plugin::Wrapper::Result::Failure) + if (vkWrapper.DrawFrame() == ES::Plugin::Wrapper::Result::NeedResize) vkWrapper.Resize(window.GetGLFWWindow()); }