diff options
Diffstat (limited to 'src/compositor/compositor_api/qwaylandquickitem_p.h')
-rw-r--r-- | src/compositor/compositor_api/qwaylandquickitem_p.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/compositor/compositor_api/qwaylandquickitem_p.h b/src/compositor/compositor_api/qwaylandquickitem_p.h index 30f1e93c7..c30829926 100644 --- a/src/compositor/compositor_api/qwaylandquickitem_p.h +++ b/src/compositor/compositor_api/qwaylandquickitem_p.h @@ -59,6 +59,7 @@ QT_BEGIN_NAMESPACE class QWaylandSurfaceTextureProvider; class QMutex; +class QOpenGLTexture; class QWaylandBufferMaterialShader : public QSGMaterialShader { @@ -84,7 +85,7 @@ public: QWaylandBufferMaterial(QWaylandBufferRef::BufferFormatEgl format); ~QWaylandBufferMaterial(); - void setTextureForPlane(int plane, uint texture); + void setTextureForPlane(int plane, QOpenGLTexture *texture); void bind(); @@ -96,7 +97,7 @@ private: void ensureTextures(int count); const QWaylandBufferRef::BufferFormatEgl m_format; - QVarLengthArray<GLuint, 3> m_textures; + QVarLengthArray<QOpenGLTexture*, 3> m_textures; }; class QWaylandQuickItemPrivate : public QQuickItemPrivate |