aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/scenegraph/coreapi/qsgmaterial.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/quick/scenegraph/coreapi/qsgmaterial.h')
-rw-r--r--src/quick/scenegraph/coreapi/qsgmaterial.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/quick/scenegraph/coreapi/qsgmaterial.h b/src/quick/scenegraph/coreapi/qsgmaterial.h
index 00970a5801..3483ae59c8 100644
--- a/src/quick/scenegraph/coreapi/qsgmaterial.h
+++ b/src/quick/scenegraph/coreapi/qsgmaterial.h
@@ -49,6 +49,10 @@ QT_BEGIN_NAMESPACE
class QSGMaterial;
+namespace QSGBatchRenderer {
+ class ShaderManager;
+}
+
class Q_QUICK_EXPORT QSGMaterialShader
{
public:
@@ -95,8 +99,8 @@ public:
inline QOpenGLShaderProgram *program() { return &m_program; }
protected:
-
friend class QSGContext;
+ friend class QSGBatchRenderer::ShaderManager;
virtual void compile();
virtual void initialize() { }