mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-19 20:24:49 +00:00
Fatality Fix: need to account for 64 bit windows as well.
This commit is contained in:
parent
b24bdfbc8b
commit
98d48b6011
|
|
@ -125,7 +125,7 @@ void* PlatformWindowSDL::getSystemWindow(const WindowSystem system)
|
|||
SDL_VERSION(&info.version);
|
||||
SDL_GetWindowWMInfo(mWindowHandle,&info);
|
||||
|
||||
#ifdef TORQUE_OS_WIN32
|
||||
#ifdef TORQUE_OS_WIN
|
||||
if( system == WindowSystem_Windows && info.subsystem == SDL_SYSWM_WINDOWS)
|
||||
return info.info.win.window;
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in a new issue