aboutsummaryrefslogtreecommitdiffstats
path: root/src/declarative/items/qsgninepatchnode_p.h
diff options
context:
space:
mode:
authorGunnar Sletta <gunnar.sletta@nokia.com>2011-05-09 12:56:50 +0200
committerGunnar Sletta <gunnar.sletta@nokia.com>2011-05-09 13:51:40 +0200
commit2aa66a66608216e8903206644efcf6a620bcd570 (patch)
tree608a775a7a93158a6a9d8d855a89ab4c5829e017 /src/declarative/items/qsgninepatchnode_p.h
parent743f8df88ae2e40506ec8e006b14f6f415c4e1be (diff)
Renamed of texture material classes to be more intuitivly named
The assumption is that most people will use QSGTextureMaterial so this should be the one that works for both transparent and opaque textures. QSGOpaqueTextureMaterial is an optimization
Diffstat (limited to 'src/declarative/items/qsgninepatchnode_p.h')
-rw-r--r--src/declarative/items/qsgninepatchnode_p.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/declarative/items/qsgninepatchnode_p.h b/src/declarative/items/qsgninepatchnode_p.h
index 533495d3ce..ac927bce84 100644
--- a/src/declarative/items/qsgninepatchnode_p.h
+++ b/src/declarative/items/qsgninepatchnode_p.h
@@ -81,8 +81,8 @@ private:
void fillRow(QSGGeometry::TexturedPoint2D *&v, float y, float ty, int xChunkCount, float xChunkSize);
QRectF m_targetRect;
QRectF m_innerRect;
- QSGTextureMaterial m_material;
- QSGTextureMaterialWithOpacity m_materialO;
+ QSGOpaqueTextureMaterial m_material;
+ QSGTextureMaterial m_materialO;
QSGGeometry m_geometry;
uint m_horizontalTileMode : 2;