diff options
author | Martin Smith <martin.smith@qt.io> | 2017-01-30 14:35:48 +0100 |
---|---|---|
committer | Martin Smith <martin.smith@qt.io> | 2017-12-02 17:30:17 +0000 |
commit | 24a0b641c13f0002416bbbcf9908a18070fcf5eb (patch) | |
tree | 32afa398da66be44b8ef50f2dab9fdb05a282002 | |
parent | f1817ea9ce9260824c542554564d642c1b8a6599 (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>
-rw-r--r-- | src/opengl/qgl.h | 6 |
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 |