summaryrefslogtreecommitdiffstats
path: root/src/render/materialsystem/qgraphicsapifilter_p.h
diff options
context:
space:
mode:
authorMäättä Antti <antti.maatta@theqtcompany.com>2016-06-10 14:40:22 +0300
committerTomi Korpipää <tomi.korpipaa@qt.io>2016-06-13 04:55:12 +0000
commit6cf83207ee249c2b25b6ee32d8b09c83116c9cf0 (patch)
tree485dbba603334e99815101e0a32e937b880c290e /src/render/materialsystem/qgraphicsapifilter_p.h
parent3723f7f01ac44cd1ea49c71dc378863b565bdeb9 (diff)
Use highest technique from effect
When effect has multiple techniques, which are compatible with the render context, select technique, which has highest OpenGL major and minor version to use. Task-number: QTBUG-54013 Change-Id: Id9c4f9bbfaa8c93095e723a6de5d5b54c86c4f2c Reviewed-by: Paul Lemire <paul.lemire@kdab.com> Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Diffstat (limited to 'src/render/materialsystem/qgraphicsapifilter_p.h')
-rw-r--r--src/render/materialsystem/qgraphicsapifilter_p.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/render/materialsystem/qgraphicsapifilter_p.h b/src/render/materialsystem/qgraphicsapifilter_p.h
index 928f97b8e..fed9df2ab 100644
--- a/src/render/materialsystem/qgraphicsapifilter_p.h
+++ b/src/render/materialsystem/qgraphicsapifilter_p.h
@@ -71,6 +71,7 @@ struct GraphicsApiFilterData
bool operator ==(const GraphicsApiFilterData &other) const;
bool operator !=(const GraphicsApiFilterData &other) const;
+ bool operator <(const GraphicsApiFilterData &other) const;
};
class QGraphicsApiFilterPrivate : public QObjectPrivate