summaryrefslogtreecommitdiff
path: root/graphics.h
diff options
context:
space:
mode:
Diffstat (limited to 'graphics.h')
-rw-r--r--graphics.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/graphics.h b/graphics.h
index fdd1463..f109be3 100644
--- a/graphics.h
+++ b/graphics.h
@@ -176,7 +176,7 @@ struct Renderer
struct Renderjob
{
- Framebuf *fb;
+ Viewport *v;
Scene *scene;
Shadertab *shaders;
Channel *donec;
@@ -215,6 +215,7 @@ struct Viewport
void (*draw)(Viewport*, Image*);
void (*memdraw)(Viewport*, Memimage*);
+ Framebuf *(*getfb)(Viewport*);
};
struct Camera