summaryrefslogtreecommitdiffstats
path: root/tests/manual/rhi/floattexture/floattexture.cpp
diff options
context:
space:
mode:
authorQt Forward Merge Bot <qt_forward_merge_bot@qt-project.org>2019-09-28 01:00:51 +0200
committerQt Forward Merge Bot <qt_forward_merge_bot@qt-project.org>2019-09-28 01:01:03 +0200
commitfbda189e081e6c7abf82334c0ac71b16ec2c37dd (patch)
tree92bdcfeb6c32de9c90ea126714907afa18ef44f1 /tests/manual/rhi/floattexture/floattexture.cpp
parentd12bf4eb8353f33499cbec4e105431668dbe8c88 (diff)
parente8d7df4cb2586ba5098fb4f476807ba7992d9cea (diff)
Merge "Merge remote-tracking branch 'origin/5.14' into 5.15"
Diffstat (limited to 'tests/manual/rhi/floattexture/floattexture.cpp')
-rw-r--r--tests/manual/rhi/floattexture/floattexture.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/manual/rhi/floattexture/floattexture.cpp b/tests/manual/rhi/floattexture/floattexture.cpp
index 16e58ff00ff..0d24860c780 100644
--- a/tests/manual/rhi/floattexture/floattexture.cpp
+++ b/tests/manual/rhi/floattexture/floattexture.cpp
@@ -317,7 +317,7 @@ void Window::customRender()
}
const QSize outputSizeInPixels = m_sc->currentPixelSize();
- cb->beginPass(m_sc->currentFrameRenderTarget(), QColor::fromRgbF(0.4f, 0.7f, 0.0f, 1.0f), { 1.0f, 0 }, u);
+ cb->beginPass(m_sc->currentFrameRenderTarget(), m_clearColor, { 1.0f, 0 }, u);
cb->setGraphicsPipeline(d.ps);
cb->setViewport({ 0, 0, float(outputSizeInPixels.width()), float(outputSizeInPixels.height()) });
cb->setShaderResources();