mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-09 07:20:40 +00:00
Merge pull request #1382 from Azaezel/sdl2Win64FatalityFix
Fatality Fix: need to account for 64 bit windows as well.
This commit is contained in:
commit
23eecc3b59
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue