From 42679f7e53364e8de8de665ac7ba9b7e2dd1970b Mon Sep 17 00:00:00 2001 From: Phil Jones Date: Tue, 26 Oct 2021 23:15:46 +0100 Subject: Add PNG background. --- src/gl.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 src/gl.h (limited to 'src/gl.h') 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 + +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 */ -- cgit v1.2.3