projects
/
laserbrain_demo
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
c34238427b4c346483efd2eec88de4a298d66a51
[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
int draw_range; /* EXT_draw_range_elements */
9
};
10
11
extern struct GLCaps glcaps;
12
13
#ifdef __cplusplus
14
extern "C" {
15
#endif
16
17
int init_opengl(void);
18
19
void dump_gl_texture(unsigned int tex, const char *fname);
20
21
#ifdef __cplusplus
22
}
23
#endif
24
25
#endif /* OPENGL_H_ */