summaryrefslogtreecommitdiffstats
path: root/src/platformheaders/nativecontexts/qeglnativecontext.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/platformheaders/nativecontexts/qeglnativecontext.h')
-rw-r--r--src/platformheaders/nativecontexts/qeglnativecontext.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/platformheaders/nativecontexts/qeglnativecontext.h b/src/platformheaders/nativecontexts/qeglnativecontext.h
index eae74126fd..d4a0e998da 100644
--- a/src/platformheaders/nativecontexts/qeglnativecontext.h
+++ b/src/platformheaders/nativecontexts/qeglnativecontext.h
@@ -46,6 +46,11 @@
QT_BEGIN_NAMESPACE
+#if defined(Q_CLANG_QDOC)
+typedef int EGLContext;
+typedef int EGLDisplay;
+#endif
+
struct QEGLNativeContext
{
QEGLNativeContext()