summaryrefslogtreecommitdiff
path: root/camera.c
diff options
context:
space:
mode:
Diffstat (limited to 'camera.c')
-rw-r--r--camera.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/camera.c b/camera.c
index b52b6b4..82d0b0b 100644
--- a/camera.c
+++ b/camera.c
@@ -78,14 +78,13 @@ reloadcamera(Camera *c)
}
void
-shootcamera(Camera *c, OBJ *m, Memimage *tex, Shader *s)
+shootcamera(Camera *c, Shader *s)
{
uvlong t0, t1;
c->vp->fbctl->reset(c->vp->fbctl);
t0 = nanosec();
- /* TODO let the user choose the nproc value (left at 1 for now) */
- shade(c->vp->fbctl->fb[c->vp->fbctl->idx^1], m, tex, s, 1); /* address the back buffer */
+ shade(c->vp->fbctl->fb[c->vp->fbctl->idx^1], c->s, s); /* address the back buffer */
t1 = nanosec();
c->vp->fbctl->swap(c->vp->fbctl);