diff options
author | rodri <rgl@antares-labs.eu> | 2024-08-29 19:27:26 +0000 |
---|---|---|
committer | rodri <rgl@antares-labs.eu> | 2024-08-29 19:27:26 +0000 |
commit | 799c2a25df4283ba46747864dc669c8905b540fc (patch) | |
tree | 1fba24ffa31f0681d66c166f32a5323df65b75f1 /med.c | |
parent | 3b06ad551d6706907b0d6cbf25807e1ef7e62ca9 (diff) | |
download | 3dee-799c2a25df4283ba46747864dc669c8905b540fc.tar.gz 3dee-799c2a25df4283ba46747864dc669c8905b540fc.tar.bz2 3dee-799c2a25df4283ba46747864dc669c8905b540fc.zip |
use the new raster interface.
Diffstat (limited to 'med.c')
-rw-r--r-- | med.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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; |