[Gridflow-cvs] [svn] commit: r3789 - in /trunk/bundled/Base: CPPExtern.h GemGL.h

gridflow-cvs at artengine.ca gridflow-cvs at artengine.ca
Wed Jun 4 14:54:15 EDT 2008


Author: matju
Date: Wed Jun  4 14:54:14 2008
New Revision: 3789

Log:
other hacks to make --gem-include=bundled work

Modified:
    trunk/bundled/Base/CPPExtern.h
    trunk/bundled/Base/GemGL.h

Modified: trunk/bundled/Base/CPPExtern.h
==============================================================================
--- trunk/bundled/Base/CPPExtern.h (original)
+++ trunk/bundled/Base/CPPExtern.h Wed Jun  4 14:54:14 2008
@@ -17,7 +17,7 @@
 #include "Base/GemExportDef.h"
 
 #include "m_pd.h"
-#include "Base/GemVersion.h"
+//#include "Base/GemVersion.h"
 
 #include <new>
 

Modified: trunk/bundled/Base/GemGL.h
==============================================================================
--- trunk/bundled/Base/GemGL.h (original)
+++ trunk/bundled/Base/GemGL.h Wed Jun  4 14:54:14 2008
@@ -29,11 +29,17 @@
 #define GLEW_STATIC
 //#include "Base/glew.h"
 #ifdef __APPLE__
-typedef unsigned long GLenum;
+typedef unsigned long GLint;
 #else
-typedef unsigned int GLenum;
+typedef unsigned int GLint;
 #endif
+typedef GLint GLenum;
 typedef float GLfloat;
+typedef unsigned char GLboolean;
+#define GL_RGBA_MODE     0x0C31
+#define GL_UNSIGNED_BYTE 0x1401
+#define GL_RGBA          0x1908
+
 
 #ifdef __APPLE__
 # include <OpenGL/OpenGL.h>



More information about the Gridflow-cvs mailing list