diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-08-14 12:43:25 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-08-14 12:55:01 +0300 |
commit | fe7a1342dc71a412a177a69b022ac1d1cc1fbdc6 (patch) | |
tree | bb19ed9d1e21b4b8517d588bca0a18c1c0fcc359 /src/mgl.h | |
parent | c5fd70049a0ebdc14e49af3e5215521085a44b46 (diff) | |
download | manaverse-fe7a1342dc71a412a177a69b022ac1d1cc1fbdc6.tar.gz manaverse-fe7a1342dc71a412a177a69b022ac1d1cc1fbdc6.tar.bz2 manaverse-fe7a1342dc71a412a177a69b022ac1d1cc1fbdc6.tar.xz manaverse-fe7a1342dc71a412a177a69b022ac1d1cc1fbdc6.zip |
Add support for GLX and wGL extensions.
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 |