aboutsummaryrefslogtreecommitdiff
path: root/internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'internal.h')
-rw-r--r--internal.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/internal.h b/internal.h
index 5fcd6e8..7f0d648 100644
--- a/internal.h
+++ b/internal.h
@@ -1,3 +1,10 @@
+typedef struct Jobqueue Jobqueue;
+
+struct Jobqueue
+{
+ Renderjob *hd, *tl;
+};
+
/* alloc */
void *emalloc(ulong);
void *erealloc(void*, ulong);
@@ -9,9 +16,6 @@ void rmfb(Framebuf*);
Framebufctl *mkfbctl(Rectangle);
void rmfbctl(Framebufctl*);
-/* render */
-void shade(Framebuf*, Scene*, Shader*);
-
/* vertex */
Vertex dupvertex(Vertex*);
void lerpvertex(Vertex*, Vertex*, Vertex*, double);