Adding a way to get an hmodule.

This commit is contained in:
Ben Vanik
2015-11-09 13:59:06 -08:00
parent 93708c0c1c
commit ca5e8fa073
3 changed files with 7 additions and 0 deletions

View File

@@ -33,6 +33,10 @@ Win32Window::~Win32Window() {
}
}
NativePlatformHandle Win32Window::native_platform_handle() const {
return ::GetModuleHandle(nullptr);
}
bool Win32Window::Initialize() { return OnCreate(); }
bool Win32Window::OnCreate() {