diff options
Diffstat (limited to 'src/gl.h')
-rw-r--r-- | src/gl.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/gl.h b/src/gl.h new file mode 100644 index 0000000..d963f0f --- /dev/null +++ b/src/gl.h @@ -0,0 +1,18 @@ +#ifndef GL_H +#define GL_H + +#include <epoxy/gl.h> + +struct client_state; +struct gl { + GLuint vbo; + GLuint vao; + GLuint ebo; + GLuint texture; + GLuint shader; +}; + +void gl_initialise(struct client_state *state); +void gl_draw(struct client_state *state); + +#endif /* GL_H */ |