diff options
author | Andy Nichols <andy.nichols@theqtcompany.com> | 2016-05-08 20:17:35 +0200 |
---|---|---|
committer | Laszlo Agocs <laszlo.agocs@theqtcompany.com> | 2016-05-08 20:04:37 +0000 |
commit | ddbe4ec52b747b3504180a15c7e5a2da3a6332c8 (patch) | |
tree | aa8c9aa421856db1fdebd5817f665f892bc37440 /src/quick/scenegraph/util/qsgtexturematerial.cpp | |
parent | 92da3afdb69c52b955f3828ec10574031f094c7d (diff) |
Fix build with QT_NO_OPENGL after rebase
Change-Id: Ia4243de07ec75030bb98f4f6d95f70d88e29fdba
Reviewed-by: Laszlo Agocs <laszlo.agocs@theqtcompany.com>
Diffstat (limited to 'src/quick/scenegraph/util/qsgtexturematerial.cpp')
-rw-r--r-- | src/quick/scenegraph/util/qsgtexturematerial.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/quick/scenegraph/util/qsgtexturematerial.cpp b/src/quick/scenegraph/util/qsgtexturematerial.cpp index 12a1b474e3..744df5e143 100644 --- a/src/quick/scenegraph/util/qsgtexturematerial.cpp +++ b/src/quick/scenegraph/util/qsgtexturematerial.cpp @@ -104,6 +104,8 @@ void QSGOpaqueTextureMaterialShader::updateState(const RenderState &state, QSGMa t->setVerticalWrapMode(QSGTexture::ClampToEdge); } } +#else + Q_UNUSED(state) #endif t->setMipmapFiltering(tx->mipmapFiltering()); |