diff --git a/src/Platform/Window.cpp b/src/Platform/Window.cpp index 40906cc6..e11860aa 100644 --- a/src/Platform/Window.cpp +++ b/src/Platform/Window.cpp @@ -93,9 +93,12 @@ namespace hgl { } + if(is_close) + return(false); + if(!active||is_min) this->WaitMessage(); - return(!is_close); + return(true); } }//namespace hgl