diff options
Diffstat (limited to 'src/system-gl.h')
-rw-r--r-- | src/system-gl.h | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/src/system-gl.h b/src/system-gl.h index d7de3c6..4a8ccac 100644 --- a/src/system-gl.h +++ b/src/system-gl.h @@ -2,15 +2,9 @@ #define SYSTEMGL_H_ #include <GL/glew.h> +#include <string> -#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 +std::string glew_dump(bool dumpall=false); +bool report_glerror(const char *task); #endif |