Merge pull request #263 from SHADE-DP/SP3-6-c-scripting
Fixed Application::Close() minimizing the window instead of closing it
This commit is contained in:
commit
f896b4a6e0
|
@ -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