aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authordrumsetmonkey <abelleisle@roadrunner.com>2015-11-02 08:52:36 -0500
committerdrumsetmonkey <abelleisle@roadrunner.com>2015-11-02 08:52:36 -0500
commit07d73ea992641198a887f000bf44b874c8e11574 (patch)
treea0d3e80548d4528ae7bf27561d5c94d3a55561f0 /include
parent822d9d5b5ef34c3ec2b5ebaded5744bdba8bade1 (diff)
parentdcefab4d5e9d9cff3bfbc65e45fae9309d426a69 (diff)
Added new project for lighting test
Diffstat (limited to 'include')
-rw-r--r--include/common.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/include/common.h b/include/common.h
index 0e4373b..b0ffec7 100644
--- a/include/common.h
+++ b/include/common.h
@@ -14,6 +14,7 @@
* Include GLEW and the SDL 2 headers
*/
+#define GLEW_STATIC
#include <GL/glew.h>
#include <SDL2/SDL.h>
@@ -23,6 +24,12 @@
#include <string>
#include <fstream>
+
+#ifdef __WIN32__
+typedef unsigned int uint;
+#undef near
+#endif
+
/*
* Include file headers
*/
@@ -32,7 +39,7 @@
* This flag lets the compiler know that we are using shaders
*/
- #define SHADERS
+ #define SHADERSere
/*
* Create a basic 2-point structure for coordinate saving