diff options
Diffstat (limited to 'camera.c')
-rw-r--r-- | camera.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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); |