summaryrefslogtreecommitdiff
path: root/src/system-gl.h
blob: 4a9474fed2911fe5cc25b8bcc03dedaa4cefe976 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#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
contact: Jan Huwald // Impressum