aboutsummaryrefslogtreecommitdiff
path: root/src/OpenGLSupport.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/OpenGLSupport.h')
-rw-r--r--src/OpenGLSupport.h14
1 files changed, 13 insertions, 1 deletions
diff --git a/src/OpenGLSupport.h b/src/OpenGLSupport.h
index edf7eda..925c0ad 100644
--- a/src/OpenGLSupport.h
+++ b/src/OpenGLSupport.h
@@ -49,9 +49,21 @@
// if you need more OpenGL functions, add them to the macronator here
-#define DO_PROCLIST(func) \
+#ifdef __WIN32__
+
+#define DO_PROCLIST_1_3(func) \
func(GLACTIVETEXTURE, glActiveTexture); \
func(GLBLENDCOLOR, glBlendColor); \
+
+#else
+
+#define DO_PROCLIST_1_3(func)
+
+#endif
+
+
+#define DO_PROCLIST(func) \
+ DO_PROCLIST_1_3(func) \
\
func(GLGENFRAMEBUFFERS, glGenFramebuffers); \
func(GLDELETEFRAMEBUFFERS, glDeleteFramebuffers); \