summaryrefslogtreecommitdiffstats
path: root/src/core/stream_video_node.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/stream_video_node.h')
-rw-r--r--src/core/stream_video_node.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/stream_video_node.h b/src/core/stream_video_node.h
index cf16f10d4..fdfa72938 100644
--- a/src/core/stream_video_node.h
+++ b/src/core/stream_video_node.h
@@ -63,9 +63,9 @@ public:
}
virtual QSGMaterialShader *createShader() const;
- virtual int compare(const QSGMaterial *other) const;
QSGTexture *m_texture;
+ QMatrix4x4 m_texMatrix;
};
class StreamVideoNode : public QSGGeometryNode
@@ -73,6 +73,7 @@ class StreamVideoNode : public QSGGeometryNode
public:
StreamVideoNode(QSGTexture *texture);
void setRect(const QRectF &rect);
+ void setTextureMatrix(const QMatrix4x4 &matrix);
private:
QSGGeometry m_geometry;