better logging and OpenGL ARB_debug_output
[laserbrain_demo] / src / opengl.h
1 #ifndef OPENGL_H_
2 #define OPENGL_H_
3
4 #include <GL/glew.h>
5
6 struct GLCaps {
7         int debug;      /* ARB_debug_output */
8 };
9
10 extern struct GLCaps glcaps;
11
12 #ifdef __cplusplus
13 extern "C" {
14 #endif
15
16 int init_opengl(void);
17
18 #ifdef __cplusplus
19 }
20 #endif
21
22 #endif  /* OPENGL_H_ */