ok now it works nicely in VR
[vrtris] / 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 int init_opengl(void);
13
14 void dump_gl_texture(unsigned int tex, const char *fname);
15
16 #endif  /* OPENGL_H_ */