Merge pull request #1382 from Azaezel/sdl2Win64FatalityFix

Fatality Fix: need to account for 64 bit windows as well.
This commit is contained in:
Areloch 2015-07-30 09:04:31 -05:00
commit 23eecc3b59

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