summaryrefslogtreecommitdiff
path: root/src/oglfunc.h
diff options
context:
space:
mode:
authorunknown <user@.(none)>2008-05-06 22:57:13 -0700
committerPatryk Obara <dreamer.tan@gmail.com>2019-08-20 02:22:37 +0200
commitc51b91cfe79a1ffd5da3f6a6ce202982cdfcdf85 (patch)
treee319ca16144d95bb99aedadcbbcf05240b5f4611 /src/oglfunc.h
parent5d3725f9d972cde917ab9b076cb0b89b33557c7a (diff)
Windows WIP.
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);