mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-15 16:44:36 +00:00
Fatality Fix: need to account for 64 bit windows as well.
This commit is contained in:
parent
b24bdfbc8b
commit
98d48b6011
1 changed files with 1 additions and 1 deletions
|
|
@ -125,7 +125,7 @@ void* PlatformWindowSDL::getSystemWindow(const WindowSystem system)
|
||||||
SDL_VERSION(&info.version);
|
SDL_VERSION(&info.version);
|
||||||
SDL_GetWindowWMInfo(mWindowHandle,&info);
|
SDL_GetWindowWMInfo(mWindowHandle,&info);
|
||||||
|
|
||||||
#ifdef TORQUE_OS_WIN32
|
#ifdef TORQUE_OS_WIN
|
||||||
if( system == WindowSystem_Windows && info.subsystem == SDL_SYSWM_WINDOWS)
|
if( system == WindowSystem_Windows && info.subsystem == SDL_SYSWM_WINDOWS)
|
||||||
return info.info.win.window;
|
return info.info.win.window;
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue