summaryrefslogtreecommitdiff
path: root/src/gl.h
diff options
context:
space:
mode:
authorPhil Jones <philj56@gmail.com>2021-10-26 23:15:46 +0100
committerPhil Jones <philj56@gmail.com>2021-10-26 23:15:46 +0100
commit42679f7e53364e8de8de665ac7ba9b7e2dd1970b (patch)
tree14e145ea833097aba91f516f4cd124e49f5a2a14 /src/gl.h
parentc1e7ea47b25cdf7bf316ce522f9aa438b0b657c7 (diff)
Add PNG background.
Diffstat (limited to 'src/gl.h')
-rw-r--r--src/gl.h18
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 */