diff options
author | Samuli Piippo <samuli.piippo@qt.io> | 2020-05-05 13:24:54 +0300 |
---|---|---|
committer | Samuli Piippo <samuli.piippo@qt.io> | 2020-05-06 16:52:02 +0300 |
commit | 1c281a2add69f30b07448d820cfcd9ae4a5ec917 (patch) | |
tree | eff067d6a32d7c4d21e257ffdcaf6171cffcc3ad /src/quick/scenegraph/qsgdefaultrendercontext_p.h | |
parent | 45537009a8a3f8e855c1adf0208084849b6dc9c4 (diff) |
Add forward declaration for QSurface
qsgdefaultrendercontext_p.h:101:9: error: ‘QSurface’ does not name a type
| QSurface *maybeSurface = nullptr;
| ^~~~~~~~
Change-Id: Ie062ba5ce5bd8071f1a55f3d966649748a707b9f
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
Diffstat (limited to 'src/quick/scenegraph/qsgdefaultrendercontext_p.h')
-rw-r--r-- | src/quick/scenegraph/qsgdefaultrendercontext_p.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/quick/scenegraph/qsgdefaultrendercontext_p.h b/src/quick/scenegraph/qsgdefaultrendercontext_p.h index cddfe9add2..be83f5a9f5 100644 --- a/src/quick/scenegraph/qsgdefaultrendercontext_p.h +++ b/src/quick/scenegraph/qsgdefaultrendercontext_p.h @@ -69,6 +69,7 @@ class QSGMaterialRhiShader; class QOpenGLFramebufferObject; class QSGDepthStencilBufferManager; class QSGDepthStencilBuffer; +class QSurface; namespace QSGOpenGLAtlasTexture { class Manager; |