diff options
| author | Qt Forward Merge Bot <qt_forward_merge_bot@qt-project.org> | 2019-09-28 01:00:51 +0200 |
|---|---|---|
| committer | Qt Forward Merge Bot <qt_forward_merge_bot@qt-project.org> | 2019-09-28 01:01:03 +0200 |
| commit | fbda189e081e6c7abf82334c0ac71b16ec2c37dd (patch) | |
| tree | 92bdcfeb6c32de9c90ea126714907afa18ef44f1 /tests/manual/rhi/floattexture/floattexture.cpp | |
| parent | d12bf4eb8353f33499cbec4e105431668dbe8c88 (diff) | |
| parent | e8d7df4cb2586ba5098fb4f476807ba7992d9cea (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.cpp | 2 |
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(); |
