summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@qt.io>2019-02-12 14:21:03 +0100
committerJoerg Bornemann <joerg.bornemann@qt.io>2019-02-12 13:32:10 +0000
commitaed1e2c49f0a9ad06732d39f70b513ad2fcfdaa3 (patch)
tree822e6822369b6ba886cc470982140336f4d5becb /tests
parent37970d7b3e6fff92dca98db974ada865c1bfd730 (diff)
Fix warning in tst_qopengl.cpp
This fixes warning: unused parameter ‘glFormat’ Change-Id: I4865300fb99ea5392b96f8e9f4f594f15f18625c Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/gui/qopengl/tst_qopengl.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/gui/qopengl/tst_qopengl.cpp b/tests/auto/gui/qopengl/tst_qopengl.cpp
index f1360b9efe..ede1e58a53 100644
--- a/tests/auto/gui/qopengl/tst_qopengl.cpp
+++ b/tests/auto/gui/qopengl/tst_qopengl.cpp
@@ -642,6 +642,8 @@ static bool supportsInternalFboFormat(QOpenGLContext *ctx, int glFormat)
return false;
}
}
+#else
+ Q_UNUSED(glFormat);
#endif
return true;
}