summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/graph.h5
m---------include/stb0
-rw-r--r--include/tex.h6
3 files changed, 10 insertions, 1 deletions
diff --git a/include/graph.h b/include/graph.h
index 9780714..d3bbbcf 100644
--- a/include/graph.h
+++ b/include/graph.h
@@ -5,6 +5,9 @@ X V graph_deinit(V);
X V graph_events(V);
X V graph_before(V);
X V graph_after(V);
-X V graph_quad(V);
+X V graph_quad(U32);
X U32 graph_shader_create(IM C*,IM C*);
+X U32 graph_shader_tex;
+
+X U32 graph_tex_create(IM C*);
#endif
diff --git a/include/stb b/include/stb
new file mode 160000
+Subproject 5736b15f7ea0ffb08dd38af21067c314d6a3aae
diff --git a/include/tex.h b/include/tex.h
new file mode 100644
index 0000000..8b5b3ff
--- /dev/null
+++ b/include/tex.h
@@ -0,0 +1,6 @@
+#ifndef MINO_TEX_H
+#define MINO_TEX_H
+typedef struct{U32 w,h;U8*d;}Tex;
+X Tex tex_load(IM C*);
+X V tex_free(Tex);
+#endif