diff options
author | Andy Nichols <andy.nichols@theqtcompany.com> | 2016-06-28 14:12:30 +0200 |
---|---|---|
committer | Andy Nichols <andy.nichols@qt.io> | 2016-06-28 15:13:20 +0000 |
commit | d44e75271cfccde26761ad9ed8accdd872f478d1 (patch) | |
tree | 34b348e08ce19fd2fb6edddd79054d8ac5f7579b /src/quick/scenegraph/util/qsgflatcolormaterial.cpp | |
parent | fda948b9932d801759cd7b585ef02de8db94c7f2 (diff) |
Cleanup some unused functions and variables with QT_NO_OPENGL
Without theses additional #ifdefs building with clang fails.
Change-Id: Ib6993b6d14bf73b606e1bcb991f7436a9c4c9638
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
Diffstat (limited to 'src/quick/scenegraph/util/qsgflatcolormaterial.cpp')
-rw-r--r-- | src/quick/scenegraph/util/qsgflatcolormaterial.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/quick/scenegraph/util/qsgflatcolormaterial.cpp b/src/quick/scenegraph/util/qsgflatcolormaterial.cpp index 5d7817163e..2ce27275cd 100644 --- a/src/quick/scenegraph/util/qsgflatcolormaterial.cpp +++ b/src/quick/scenegraph/util/qsgflatcolormaterial.cpp @@ -57,9 +57,10 @@ public: private: virtual void initialize(); - +#ifndef QT_NO_OPENGL int m_matrix_id; int m_color_id; +#endif }; QSGMaterialType FlatColorMaterialShader::type; |