summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Arne Vestbø <tor.arne.vestbo@theqtcompany.com>2016-01-20 14:24:07 +0100
committerTor Arne Vestbø <tor.arne.vestbo@theqtcompany.com>2016-01-21 21:53:49 +0000
commita44e4a6cfe37482b3b4b1527eabc807c585d0500 (patch)
tree855994317ece67fae1a3c92d3932ebd5c3a7bfae
parenta01146aac104b05dcf5c7ddbe7b79a897e8bf414 (diff)
downloadqtbase-a44e4a6cfe37482b3b4b1527eabc807c585d0500.tar.gz
Fix build with QT_NO_OPENGL
Change-Id: I3056d101967d94961b35ce10692dc9f390189b40 Reviewed-by: Laszlo Agocs <laszlo.agocs@theqtcompany.com>
-rw-r--r--src/gui/kernel/qplatformgraphicsbufferhelper.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/kernel/qplatformgraphicsbufferhelper.cpp b/src/gui/kernel/qplatformgraphicsbufferhelper.cpp
index c0c51b8d5e..52457ed606 100644
--- a/src/gui/kernel/qplatformgraphicsbufferhelper.cpp
+++ b/src/gui/kernel/qplatformgraphicsbufferhelper.cpp
@@ -232,6 +232,7 @@ bool QPlatformGraphicsBufferHelper::bindSWToTexture(const QPlatformGraphicsBuffe
#else
Q_UNUSED(graphicsBuffer)
Q_UNUSED(swizzleRandB)
+ Q_UNUSED(premultipliedB)
Q_UNUSED(subRect)
return false;
#endif // QT_NO_OPENGL