summaryrefslogtreecommitdiffstats
path: root/sdl/gltools.c
diff options
context:
space:
mode:
authorKyle K <kylek389@gmail.com>2011-07-01 22:45:47 -0500
committerKamil Kaminski <kamilkss@gmail.com>2011-07-01 22:45:47 -0500
commita8dd445ee3f531a92c6e356ec048f6f6474e9eee (patch)
tree10ec4b8038e0c3a25cfc730f883ea3bdb855551b /sdl/gltools.c
parent9129b7ff505f7b296462dcd9e027c892a9c75c52 (diff)
downloadGLPyramid-a8dd445ee3f531a92c6e356ec048f6f6474e9eee.tar.gz
GLPyramid-a8dd445ee3f531a92c6e356ec048f6f6474e9eee.tar.bz2
GLPyramid-a8dd445ee3f531a92c6e356ec048f6f6474e9eee.zip
sdl: split code, update makefile, fix header inclusion
Diffstat (limited to 'sdl/gltools.c')
-rw-r--r--sdl/gltools.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/sdl/gltools.c b/sdl/gltools.c
index 7244f4b..7bc85ef 100644
--- a/sdl/gltools.c
+++ b/sdl/gltools.c
@@ -6,6 +6,12 @@
*
*/
+#include <GL/glew.h>
+#include <GL/freeglut.h>
+#include <math.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include "math3d.h"
#include "gltools.h"
GLint gltWriteTGA(const char *szFileName)