mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +00:00
Modified files for SDL2.
This commit is contained in:
parent
33a0579735
commit
475f218bcd
33 changed files with 436 additions and 136 deletions
|
|
@ -20,6 +20,8 @@
|
|||
// IN THE SOFTWARE.
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
#if !defined(TORQUE_SDL)
|
||||
|
||||
#include <windows.h>
|
||||
#include <tchar.h>
|
||||
#include <winuser.h>
|
||||
|
|
@ -121,6 +123,14 @@ Win32Window::~Win32Window()
|
|||
_unregisterWindowClass();
|
||||
}
|
||||
|
||||
void* Win32Window::getSystemWindow(const WindowSystem system)
|
||||
{
|
||||
if( system == WindowSystem_Windows)
|
||||
return getHWND();
|
||||
|
||||
return NULL;
|
||||
}
|
||||
|
||||
GFXDevice * Win32Window::getGFXDevice()
|
||||
{
|
||||
return mDevice;
|
||||
|
|
@ -1209,3 +1219,5 @@ const UTF16 *Win32Window::getCurtainWindowClassName()
|
|||
{
|
||||
return _CurtainWindowClassName;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue