summaryrefslogtreecommitdiff
path: root/med.c
diff options
context:
space:
mode:
Diffstat (limited to 'med.c')
-rw-r--r--med.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/med.c b/med.c
index 4ba9d30..25dccec 100644
--- a/med.c
+++ b/med.c
@@ -802,7 +802,7 @@ threadmain(int argc, char *argv[])
placecamera(cam, scene, camcfg.p, camcfg.lookat, camcfg.up);
light.p = Pt3(0,100,100,1);
light.c = Pt3(1,1,1,1);
- light.type = LIGHT_POINT;
+ light.type = LightPoint;
tsampler = neartexsampler;
kctl = emalloc(sizeof *kctl);