Fixed Application::Close() not closing but instead minimizing the window

This commit is contained in:
Kah Wei 2022-11-23 17:03:57 +08:00
parent cec5569ebf
commit 20a1fdc16e
1 changed files with 2 additions and 1 deletions

View File

@ -69,7 +69,8 @@ namespace SHADE
if (gfxSystem)
{
auto WND = gfxSystem->GetWindow();
return WND->Close();
if (WND)
WND->Destroy();
}
SHLOG_WARNING("[SHGraphicsSystemInterface] Failed to close window.");