openscad/src/system-gl.h

23 lines
367 B
C++

#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
#include <string>
std::string glew_dump();
std::string glew_extensions_dump();
bool report_glerror(const char * function);
#endif