diff options
Diffstat (limited to 'src/mgl.h')
-rw-r--r-- | src/mgl.h | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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 |