mirror of https://github.com/vitalif/openscad
24 lines
393 B
C++
24 lines
393 B
C++
#pragma once
|
|
|
|
#ifndef NULLGL
|
|
#include <GL/glew.h>
|
|
|
|
#ifdef __APPLE__
|
|
#include <OpenGL/OpenGL.h>
|
|
#else
|
|
#include <GL/gl.h>
|
|
#include <GL/glu.h>
|
|
#endif
|
|
|
|
#else // NULLGL
|
|
#define GLint int
|
|
#define GLuint unsigned int
|
|
inline void glColor4fv( float *c ) {}
|
|
#endif // NULLGL
|
|
|
|
#include <string>
|
|
|
|
std::string glew_dump();
|
|
std::string glew_extensions_dump();
|
|
bool report_glerror(const char * function);
|