diff options
author | Laszlo Agocs <laszlo.agocs@theqtcompany.com> | 2016-06-02 16:49:43 +0200 |
---|---|---|
committer | Laszlo Agocs <laszlo.agocs@theqtcompany.com> | 2016-06-02 16:08:56 +0000 |
commit | a48ca7e319bb7ad95a31638b2493560a58a4b8a3 (patch) | |
tree | 67d6fac7b963f0d5cbdf7534a5d1c8ea39fd3a1c /src/quick/scenegraph/adaptations | |
parent | 0669e48a2fe4640e05844df8aa36bf2a85db411d (diff) |
Avoid ifdefed enum
Do it like in QSGGeometry: use the values directly to avoid the GL header
dependency.
Change-Id: Ia83dea5cbbab7dfee8b88d1b01fcfcb51ad41fc1
Reviewed-by: Robin Burchell <robin.burchell@viroteck.net>
Reviewed-by: Andy Nichols <andy.nichols@qt.io>
Diffstat (limited to 'src/quick/scenegraph/adaptations')
-rw-r--r-- | src/quick/scenegraph/adaptations/software/qsgsoftwareninepatchnode_p.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/quick/scenegraph/adaptations/software/qsgsoftwareninepatchnode_p.h b/src/quick/scenegraph/adaptations/software/qsgsoftwareninepatchnode_p.h index 62559c933c..bc7aec1b5a 100644 --- a/src/quick/scenegraph/adaptations/software/qsgsoftwareninepatchnode_p.h +++ b/src/quick/scenegraph/adaptations/software/qsgsoftwareninepatchnode_p.h @@ -57,7 +57,7 @@ QT_BEGIN_NAMESPACE class QSGSoftwareNinePatchNode : public QSGNinePatchNode { -public: +public: QSGSoftwareNinePatchNode(); void setTexture(QSGTexture *texture) override; |