summaryrefslogtreecommitdiff
path: root/src/texture.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/texture.h')
-rw-r--r--src/texture.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/texture.h b/src/texture.h
new file mode 100644
index 0000000..721356b
--- /dev/null
+++ b/src/texture.h
@@ -0,0 +1,9 @@
+#pragma once
+#include "glad/glad.h"
+struct texture {
+ GLuint _tbo;
+};
+
+void texture_init(struct texture** texture);
+void texture_load(struct texture* texture, char* path);
+void texture_draw(struct texture* texture);