torque windows integration of epoxy

This commit is contained in:
Jeff Hutchinson 2016-03-25 13:41:38 -04:00
parent b89d2a116e
commit 6e692ea9cf
5 changed files with 18 additions and 12 deletions

View file

@ -28,9 +28,9 @@
#ifdef TORQUE_OPENGL
#include "tGL.h"
#include "GL/wglew.h"
#include <epoxy/wgl.h>
#define gglHasWExtension(EXTENSION) WGLEW_##EXTENSION
#define gglHasWExtension(window, EXTENSION) epoxy_has_wgl_extension(window, "WGL_" # EXTENSION)
#endif //TORQUE_OPENGL