aboutsummaryrefslogtreecommitdiffstats
path: root/src/declarative/scenegraph/util/qsgsimpletexturenode.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/scenegraph/util/qsgsimpletexturenode.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/scenegraph/util/qsgsimpletexturenode.h')
-rw-r--r--src/declarative/scenegraph/util/qsgsimpletexturenode.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/declarative/scenegraph/util/qsgsimpletexturenode.h b/src/declarative/scenegraph/util/qsgsimpletexturenode.h
index b4d8b71962..44925be881 100644
--- a/src/declarative/scenegraph/util/qsgsimpletexturenode.h
+++ b/src/declarative/scenegraph/util/qsgsimpletexturenode.h
@@ -69,8 +69,8 @@ public:
private:
QSGGeometry m_geometry;
- QSGTextureMaterial m_opaque_material;
- QSGTextureMaterialWithOpacity m_material;
+ QSGOpaqueTextureMaterial m_opaque_material;
+ QSGTextureMaterial m_material;
QRectF m_rect;
};