From 799c2a25df4283ba46747864dc669c8905b540fc Mon Sep 17 00:00:00 2001 From: rodri Date: Thu, 29 Aug 2024 19:27:26 +0000 Subject: use the new raster interface. --- med.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'med.c') diff --git a/med.c b/med.c index 1ca8ce7..9119db3 100644 --- a/med.c +++ b/med.c @@ -100,7 +100,7 @@ RFrame3 ONF3 = { /* default orthonormal rframe */ 0,1,0,0, 0,0,1,0 }; -LightSource light; /* global point light */ +LightSource light; /* global point light */ static int doprof; static int showhud; @@ -515,8 +515,8 @@ renderproc(void *) Δt = nsec() - t0; if(Δt > HZ2MS(60)*1000000ULL){ lockdisplay(display); - cam->view->draw(cam->view, screenb); - compass.cam->view->draw(compass.cam->view, screenb); + cam->view->draw(cam->view, screenb, nil); + compass.cam->view->draw(compass.cam->view, screenb, nil); unlockdisplay(display); nbsend(drawc, nil); t0 += Δt; -- cgit v1.2.3