summaryrefslogtreecommitdiff
path: root/src/mgl.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mgl.h')
-rw-r--r--src/mgl.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mgl.h b/src/mgl.h
index 8e7002d82..3c611e9ac 100644
--- a/src/mgl.h
+++ b/src/mgl.h
@@ -24,6 +24,7 @@
#define GL_GLEXT_PROTOTYPES 1
#include <SDL_opengl.h>
+#include <SDL_syswm.h>
#include <GL/glext.h>
#define GL_NUM_EXTENSIONS 0x821D
@@ -61,4 +62,10 @@ defNameE(glDeleteFramebuffers);
defNameE(glDeleteRenderbuffers);
defNameE(glGetStringi);
+#ifdef WIN32
+typedef const char* (APIENTRY * wglGetExtensionsString_t) (HDC hdc);
+
+defNameE(wglGetExtensionsString);
+#endif
+
#endif