aboutsummaryrefslogtreecommitdiffstats
path: root/tools/opengldummy/include/GLES3/gl3platform.h
diff options
context:
space:
mode:
authorAndy Nichols <andy.nichols@digia.com>2014-09-02 11:45:24 +0200
committerLars Knoll <lars.knoll@digia.com>2014-09-02 13:50:38 +0300
commitd0c3efdd479e4545ae1fcbc289de6d047742faf5 (patch)
tree3aa488bdcbe4e5a6bb941617150d63c388f0a103 /tools/opengldummy/include/GLES3/gl3platform.h
parenta474cdf0dd3b1fab644abe9da87ff6487383aad0 (diff)
Add OpenGL dummy libraries to project
Qt still depends on OpenGL even if we dont plan on using it. The OpenGL dummy library provides the OpenGL and EGL headers and sharded objects necessary to build Qt with OpenGL ES2 support. Change-Id: I588f819b108834486a14769a8c1740e86a14bc24 Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'tools/opengldummy/include/GLES3/gl3platform.h')
-rw-r--r--tools/opengldummy/include/GLES3/gl3platform.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/tools/opengldummy/include/GLES3/gl3platform.h b/tools/opengldummy/include/GLES3/gl3platform.h
new file mode 100644
index 0000000000..b1e869dd11
--- /dev/null
+++ b/tools/opengldummy/include/GLES3/gl3platform.h
@@ -0,0 +1,30 @@
+#ifndef __gl3platform_h_
+#define __gl3platform_h_
+
+/* $Revision: 23328 $ on $Date:: 2013-10-02 02:28:28 -0700 #$ */
+
+/*
+ * This document is licensed under the SGI Free Software B License Version
+ * 2.0. For details, see http://oss.sgi.com/projects/FreeB/ .
+ */
+
+/* Platform-specific types and definitions for OpenGL ES 3.X gl3.h
+ *
+ * Adopters may modify khrplatform.h and this file to suit their platform.
+ * You are encouraged to submit all modifications to the Khronos group so that
+ * they can be included in future versions of this file. Please submit changes
+ * by sending them to the public Khronos Bugzilla (http://khronos.org/bugzilla)
+ * by filing a bug against product "OpenGL-ES" component "Registry".
+ */
+
+#include <KHR/khrplatform.h>
+
+#ifndef GL_APICALL
+#define GL_APICALL KHRONOS_APICALL
+#endif
+
+#ifndef GL_APIENTRY
+#define GL_APIENTRY KHRONOS_APIENTRY
+#endif
+
+#endif /* __gl3platform_h_ */