mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-15 16:44:36 +00:00
SDL epoxy stuff.
This commit is contained in:
parent
7317848080
commit
3bb4fda47a
1 changed files with 9 additions and 0 deletions
|
|
@ -2,6 +2,10 @@
|
||||||
#include "windowManager/sdl/sdlWindow.h"
|
#include "windowManager/sdl/sdlWindow.h"
|
||||||
#include "console/console.h"
|
#include "console/console.h"
|
||||||
|
|
||||||
|
#ifdef TORQUE_OS_WIN
|
||||||
|
#include "gfx/gl/tGL/tWGL.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
namespace PlatformGL
|
namespace PlatformGL
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
@ -64,6 +68,11 @@ namespace PlatformGL
|
||||||
Con::printf( err );
|
Con::printf( err );
|
||||||
AssertFatal(0, err );
|
AssertFatal(0, err );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef TORQUE_OS_WIN
|
||||||
|
// JTH: Update the internals of epoxy on windows.
|
||||||
|
epoxy_handle_external_wglMakeCurrent();
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
void setVSync(const int i)
|
void setVSync(const int i)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue