Fatality Fix: need to account for 64 bit windows as well.

This commit is contained in:
Azaezel 2015-07-29 11:50:47 -05:00
parent b24bdfbc8b
commit 98d48b6011

View file

@ -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