summaryrefslogtreecommitdiffstats
path: root/progs/tests/multipal.c
diff options
context:
space:
mode:
authorKarl Schultz <[email protected]>2002-01-16 01:03:25 +0000
committerKarl Schultz <[email protected]>2002-01-16 01:03:25 +0000
commit40fac75370507924b013908ecaa5fb37e8501dba (patch)
tree41ee81a1dd0939427c52d98b4ae5010b8a0a8e14 /progs/tests/multipal.c
parent3d587f643229a29f615d5047e47e4a3805930588 (diff)
get tests working on windows (Robert Bergkvist)
Diffstat (limited to 'progs/tests/multipal.c')
-rw-r--r--progs/tests/multipal.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/progs/tests/multipal.c b/progs/tests/multipal.c
index 109135080d3..d4b8e53a14f 100644
--- a/progs/tests/multipal.c
+++ b/progs/tests/multipal.c
@@ -1,4 +1,4 @@
-/* $Id: multipal.c,v 1.1 2000/11/18 17:12:33 brianp Exp $ */
+/* $Id: multipal.c,v 1.2 2002/01/16 01:03:25 kschultz Exp $ */
/*
* GL_ARB_multitexture demo
@@ -12,6 +12,9 @@
/*
* $Log: multipal.c,v $
+ * Revision 1.2 2002/01/16 01:03:25 kschultz
+ * get tests working on windows (Robert Bergkvist)
+ *
* Revision 1.1 2000/11/18 17:12:33 brianp
* test texture palettes with multitexture
*
@@ -52,6 +55,10 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#ifdef _WIN32
+#include <windows.h>
+#endif
+#define GL_GLEXT_LEGACY
#include <GL/glut.h>
#include "../util/readtex.c" /* I know, this is a hack. */