summaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorRobert Brock <robert.brock@kdab.com>2016-02-26 10:38:03 +0000
committerSean Harmer <sean.harmer@kdab.com>2016-03-05 01:07:39 +0000
commit7fb39670fd6cf418bc16256d3778a5c85b158dfa (patch)
tree50478d8b66b48d7a07edad540585113125bf5275 /src/plugins
parentc3ad40d587dd6a1c2d287b2e55b6334beff0817c (diff)
QBlendEquation renamed mode to function
BlendMode became BlendFunction mode became blendFunction removed Func prefix in enums As per API review Change-Id: I95271abc3ba4b8d04b3caf46845e1a5e47d47322 Reviewed-by: Paul Lemire <paul.lemire@kdab.com> Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/sceneparsers/gltf/gltfparser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/sceneparsers/gltf/gltfparser.cpp b/src/plugins/sceneparsers/gltf/gltfparser.cpp
index 8202f87c9..7df17473f 100644
--- a/src/plugins/sceneparsers/gltf/gltfparser.cpp
+++ b/src/plugins/sceneparsers/gltf/gltfparser.cpp
@@ -1474,7 +1474,7 @@ QRenderState* GLTFParser::buildState(const QString& functionName, const QJsonVal
type = GL_BLEND;
//TODO: support settings blendEquation alpha
QBlendEquation *blendEquation = new QBlendEquation;
- blendEquation->setMode((QBlendEquation::BlendMode)values.at(0).toInt(GL_FUNC_ADD));
+ blendEquation->setBlendFunction((QBlendEquation::BlendFunction)values.at(0).toInt(GL_FUNC_ADD));
return blendEquation;
}