diff options
Diffstat (limited to 'tests/auto/render/renderpass/tst_renderpass.cpp')
-rw-r--r-- | tests/auto/render/renderpass/tst_renderpass.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/auto/render/renderpass/tst_renderpass.cpp b/tests/auto/render/renderpass/tst_renderpass.cpp index 56123ad25..bddd6a790 100644 --- a/tests/auto/render/renderpass/tst_renderpass.cpp +++ b/tests/auto/render/renderpass/tst_renderpass.cpp @@ -118,7 +118,9 @@ private slots: QBlendState *blendState = new QBlendState; frontendState = blendState; - backendState = BlendState::getOrCreate(blendState->srcRGB(), blendState->dstRGB()); + backendState = BlendState::getOrCreate(blendState->srcRGB(), blendState->dstRGB(), + blendState->srcRGB(), blendState->dstRGB(), + blendState->enabled(), blendState->bufferIndex()); QTest::newRow("blendstate") << frontendState << backendState; QColorMask *colorMask = new QColorMask; |