summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorneoraider <devnull@localhost>2006-11-20 23:40:04 +0100
committerneoraider <devnull@localhost>2006-11-20 23:40:04 +0100
commite05e8eb046b0037abf5dfa6b62b1321ec4a6e0aa (patch)
treefea1f0b63bd398603803719a9d7343fa07238fda
parent16fd248babd866be5535bdc43ae21099580ee3eb (diff)
downloadlibzoom-e05e8eb046b0037abf5dfa6b62b1321ec4a6e0aa.tar
libzoom-e05e8eb046b0037abf5dfa6b62b1321ec4a6e0aa.zip
Zwei Bugs, die das kompilieren verhindert haben, gefixt (einer nur unter Win32)
-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>