aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/scenegraph/qsgcontext_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/quick/scenegraph/qsgcontext_p.h')
-rw-r--r--src/quick/scenegraph/qsgcontext_p.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/quick/scenegraph/qsgcontext_p.h b/src/quick/scenegraph/qsgcontext_p.h
index a2495a8029..99fbdd2300 100644
--- a/src/quick/scenegraph/qsgcontext_p.h
+++ b/src/quick/scenegraph/qsgcontext_p.h
@@ -65,7 +65,7 @@ class QSGImageNode;
class QSGGlyphNode;
class QSGRenderer;
class QSGDistanceFieldGlyphCache;
-class QQuickCanvas;
+class QQuickWindow;
class QSGTexture;
class QSGMaterial;
class QSGMaterialShader;
@@ -111,7 +111,7 @@ public:
virtual QSurfaceFormat defaultSurfaceFormat() const;
- QSGTexture *textureForFactory(QQuickTextureFactory *factory, QQuickCanvas *canvas);
+ QSGTexture *textureForFactory(QQuickTextureFactory *factory, QQuickWindow *window);
static QSGContext *createDefaultContext();