summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMartin Smith <martin.smith@qt.io>2017-01-30 14:35:48 +0100
committerMartin Smith <martin.smith@qt.io>2017-12-02 17:30:17 +0000
commit24a0b641c13f0002416bbbcf9908a18070fcf5eb (patch)
tree32afa398da66be44b8ef50f2dab9fdb05a282002 /src
parentf1817ea9ce9260824c542554564d642c1b8a6599 (diff)
doc: clangqdoc needs to see all GLxxx typedefs
Clang needs to see declarations for GLclampf, GLSizei, and GLboolean. Change-Id: Id1c1310e4877b32bb8fc2e6d4f743999842b3f06 Reviewed-by: Topi Reiniƶ <topi.reinio@qt.io>
Diffstat (limited to 'src')
-rw-r--r--src/opengl/qgl.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/opengl/qgl.h b/src/opengl/qgl.h
index 902a2a2104..a1ba0485e0 100644
--- a/src/opengl/qgl.h
+++ b/src/opengl/qgl.h
@@ -58,6 +58,12 @@ typedef int GLint;
typedef unsigned int GLuint;
#undef GLenum
typedef unsigned int GLenum;
+#undef GLclampf
+typedef float GLclampf;
+#undef GLsizei
+typedef int GLsizei;
+#undef GLboolean
+typedef bool GLboolean;
#endif