Windows: Prevent opening window until we call show().

This commit is contained in:
Dain Nilsson 2023-02-17 13:15:48 +01:00
parent 81f91bc973
commit 6ead9860fb
No known key found for this signature in database
GPG Key ID: F04367096FBA95E8

View File

@ -172,7 +172,9 @@ bool Win32Window::Create(const std::wstring& title,
}
bool Win32Window::Show() {
return ShowWindow(window_handle_, SW_SHOWNORMAL);
// We show the mindow manually
return true;
//return ShowWindow(window_handle_, SW_SHOWNORMAL);
}
// static