aboutsummaryrefslogtreecommitdiffstats
path: root/src/quickshapes/qquickshapenvprrenderer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/quickshapes/qquickshapenvprrenderer.cpp')
-rw-r--r--src/quickshapes/qquickshapenvprrenderer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/quickshapes/qquickshapenvprrenderer.cpp b/src/quickshapes/qquickshapenvprrenderer.cpp
index 51af0d8961..a5b2a3467c 100644
--- a/src/quickshapes/qquickshapenvprrenderer.cpp
+++ b/src/quickshapes/qquickshapenvprrenderer.cpp
@@ -712,8 +712,8 @@ void QQuickShapeNvprRenderNode::renderFill(ShapePathRenderData *d)
} else {
Q_UNREACHABLE();
}
- const QQuickShapeGradientCache::Key cacheKey(d->fillGradient.stops, spread);
- QSGTexture *tx = QQuickShapeGradientCache::currentCache()->get(cacheKey);
+ const QQuickShapeGradientCacheKey cacheKey(d->fillGradient.stops, spread);
+ QSGTexture *tx = QQuickShapeGradientOpenGLCache::currentCache()->get(cacheKey);
tx->bind();
} else {
mtl = mtlmgr.activateMaterial(QQuickNvprMaterialManager::MatSolid);