Fixed Application::Close() not closing but instead minimizing the window
This commit is contained in:
parent
cec5569ebf
commit
20a1fdc16e
|
@ -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.");
|
||||
|
|
Loading…
Reference in New Issue