aboutsummaryrefslogtreecommitdiffstats
path: root/resources/stubs_includes/gl
diff options
context:
space:
mode:
authorMichael Bien <[email protected]>2009-10-12 18:05:21 +0200
committerMichael Bien <[email protected]>2009-10-12 18:05:21 +0200
commit2b05a67d30bde1419c2b0f1b5b427d65b8415eb7 (patch)
tree15ae414e82e515d5255428d32ecdf5ed38a51ea5 /resources/stubs_includes/gl
parentbe4e9559f16e3ac5a5d109b26fbb9d579345f25c (diff)
cleaned up resources folder structure and build.
Diffstat (limited to 'resources/stubs_includes/gl')
-rw-r--r--resources/stubs_includes/gl/gltypes.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/resources/stubs_includes/gl/gltypes.h b/resources/stubs_includes/gl/gltypes.h
new file mode 100644
index 00000000..3272b72a
--- /dev/null
+++ b/resources/stubs_includes/gl/gltypes.h
@@ -0,0 +1,18 @@
+//we need only the basic gl types for the cl-gl interoperability
+//extracted from gl3.h
+
+typedef unsigned int GLenum;
+typedef unsigned char GLboolean;
+typedef unsigned int GLbitfield;
+typedef signed char GLbyte;
+typedef short GLshort;
+typedef int GLint;
+typedef int GLsizei;
+typedef unsigned char GLubyte;
+typedef unsigned short GLushort;
+typedef unsigned int GLuint;
+typedef float GLfloat;
+typedef float GLclampf;
+typedef double GLdouble;
+typedef double GLclampd;
+typedef void GLvoid;