summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLaszlo Agocs <laszlo.agocs@qt.io>2019-07-26 09:54:18 +0200
committerLaszlo Agocs <laszlo.agocs@qt.io>2019-07-31 09:04:49 +0200
commit3f201f988f5ddffb8deb16c8eb764c2917e16f52 (patch)
tree9615d6f16ed493d6a4e085807b783480105b5d5f
parent493ce2f3d40d23682a9492e8995067f50f9edeea (diff)
rhi: Fix clear value in offscreen test
Leftover from the migration to QColor as color clear value. Change-Id: Ibf49d65234a1e14d53035b46249753a5929ca22b Reviewed-by: Andy Nichols <andy.nichols@qt.io>
-rw-r--r--tests/manual/rhi/offscreen/offscreen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/manual/rhi/offscreen/offscreen.cpp b/tests/manual/rhi/offscreen/offscreen.cpp
index 678d6ffe48..79e50d3dd4 100644
--- a/tests/manual/rhi/offscreen/offscreen.cpp
+++ b/tests/manual/rhi/offscreen/offscreen.cpp
@@ -307,7 +307,7 @@ int main(int argc, char **argv)
opacity = qBound(0.0f, opacity, 1.0f);
}
- cb->beginPass(rt, { 0, 1, 0, 1 }, { 1, 0 }, u);
+ cb->beginPass(rt, QColor::fromRgbF(0.0f, 1.0f, 0.0f, 1.0f), { 1, 0 }, u);
cb->setGraphicsPipeline(ps);
cb->setViewport({ 0, 0, 1280, 720 });
cb->setShaderResources();