SDL epoxy stuff.

This commit is contained in:
Jeff Hutchinson 2016-03-25 21:11:42 -04:00
parent 7317848080
commit 3bb4fda47a

View file

@ -2,6 +2,10 @@
#include "windowManager/sdl/sdlWindow.h"
#include "console/console.h"
#ifdef TORQUE_OS_WIN
#include "gfx/gl/tGL/tWGL.h"
#endif
namespace PlatformGL
{
@ -64,6 +68,11 @@ namespace PlatformGL
Con::printf( 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)