summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--light.c1
-rw-r--r--render.c1
2 files changed, 1 insertions, 1 deletions
diff --git a/light.c b/light.c
index 216007d..5fa98f6 100644
--- a/light.c
+++ b/light.c
@@ -27,6 +27,5 @@ void ResetLights() {
if(nLights > 0) {
free(lights);
nLights = 0;
- UpdateAmbient();
}
}
diff --git a/render.c b/render.c
index d626a99..e260166 100644
--- a/render.c
+++ b/render.c
@@ -1,6 +1,7 @@
#include <stdlib.h>
#include <math.h>
#include <GL/gl.h>
+#include <GL/glext.h>
#include <neofx/math.h>
#include <zoom/level.h>
#include <zoom/light.h>