diff options
Diffstat (limited to 'src/mgl.h')
-rw-r--r-- | src/mgl.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -21,6 +21,9 @@ #ifndef MGL_H #define MGL_H +#include "main.h" +#ifdef USE_OPENGL + #define GL_GLEXT_PROTOTYPES 1 #include <SDL_opengl.h> @@ -79,3 +82,4 @@ defNameE(wglGetExtensionsString); #endif #endif +#endif |