summaryrefslogtreecommitdiff
path: root/src/oglfunc.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/oglfunc.h')
-rw-r--r--src/oglfunc.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/oglfunc.h b/src/oglfunc.h
index 0ac05fc..22ff9a1 100644
--- a/src/oglfunc.h
+++ b/src/oglfunc.h
@@ -1,8 +1,12 @@
#ifndef OGLFUNC_H
#define OGLFUNC_H
+#if defined(_MSC_VER)
+#include <windows.h>
+#endif
+
#include <GL/gl.h>
-#include <GL/glext.h>
+//#include <GL/glext.h>
typedef void (APIENTRY *PFNGLALPHAFUNCPROC)(GLenum, GLclampf);
typedef void (APIENTRY *PFNGLARRAYELEMENTPROC)(GLint);