summaryrefslogtreecommitdiff
path: root/med.c
diff options
context:
space:
mode:
authorrodri <rgl@antares-labs.eu>2024-08-29 19:27:26 +0000
committerrodri <rgl@antares-labs.eu>2024-08-29 19:27:26 +0000
commit799c2a25df4283ba46747864dc669c8905b540fc (patch)
tree1fba24ffa31f0681d66c166f32a5323df65b75f1 /med.c
parent3b06ad551d6706907b0d6cbf25807e1ef7e62ca9 (diff)
download3dee-799c2a25df4283ba46747864dc669c8905b540fc.tar.gz
3dee-799c2a25df4283ba46747864dc669c8905b540fc.tar.bz2
3dee-799c2a25df4283ba46747864dc669c8905b540fc.zip
use the new raster interface.
Diffstat (limited to 'med.c')
-rw-r--r--med.c6
1 files changed, 3 insertions, 3 deletions
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;