summaryrefslogtreecommitdiff
path: root/src/system-gl.h
blob: 57e9080d036fa51b5e78a7e85fd4d2d3e3f25d8b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#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(bool dumpall);
bool report_glerror(const char * function);

#endif
contact: Jan Huwald // Impressum