diff options
Diffstat (limited to 'tests/manual')
-rw-r--r-- | tests/manual/rhi/offscreen/offscreen.cpp | 2 |
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(); |