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>
This commit is contained in:
parent
493ce2f3d4
commit
3f201f988f
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user