summaryrefslogtreecommitdiff
path: root/src/system-gl.h
diff options
context:
space:
mode:
authordon bright <hugh.m.bright@gmail.com>2013-01-26 22:18:31 (GMT)
committerdon bright <hugh.m.bright@gmail.com>2013-01-26 22:19:14 (GMT)
commitf17a282220903d7bb494deae046d3e786ef6b1ca (patch)
treed27af52db52fec9c931caf049cfd212ce576e620 /src/system-gl.h
parentc133ae3b7d7f780d440b74dabe36cff355d9e30c (diff)
cleanups. and restore accidentally deleted old system-gl.h
Diffstat (limited to 'src/system-gl.h')
-rw-r--r--src/system-gl.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/system-gl.h b/src/system-gl.h
index dd465f6..d7de3c6 100644
--- a/src/system-gl.h
+++ b/src/system-gl.h
@@ -1,16 +1,16 @@
#ifndef SYSTEMGL_H_
#define SYSTEMGL_H_
-#ifdef _WIN32
-// Prevent obtuse compile errors on Win32/mingw32. This is related
-// GLU Tessellation callback definitions, and how glew deals with them.
-#include <windows.h>
-#endif
-
#include <GL/glew.h>
-#include <string>
-std::string glew_dump(bool dumpall=false);
-bool report_glerror(const char *task);
+#ifdef __APPLE__
+ #include <OpenGL/OpenGL.h>
+#else
+ #include <GL/gl.h>
+ #include <GL/glu.h>
+ #ifdef _WIN32
+ #include <windows.h> // For the CALLBACK macro
+ #endif
+#endif
#endif
contact: Jan Huwald // Impressum