openscad/src/system-gl.h

23 lines
367 B
C
Raw Normal View History

2011-10-01 03:36:30 +04:00
#ifndef SYSTEMGL_H_
#define SYSTEMGL_H_
#include <GL/glew.h>
#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
2011-10-01 03:36:30 +04:00
2013-01-27 02:23:44 +04:00
#include <string>
std::string glew_dump();
std::string glew_extensions_dump();
2013-01-27 02:23:44 +04:00
bool report_glerror(const char * function);
2011-10-01 03:36:30 +04:00
#endif