Fix formatting of blend factor in pipeline state

This commit is contained in:
baldurk
2017-05-15 10:11:55 +01:00
parent 870f0cc166
commit 08fa2ec411
4 changed files with 16 additions and 16 deletions
@@ -1902,10 +1902,10 @@ void VulkanPipelineStateViewer::setState()
ui->blends->verticalScrollBar()->setValue(vs);
ui->blendFactor->setText(QFormatStr("%1, %2, %3, %4")
.arg(state.CB.blendConst[0], 2)
.arg(state.CB.blendConst[1], 2)
.arg(state.CB.blendConst[2], 2)
.arg(state.CB.blendConst[3], 2));
.arg(state.CB.blendConst[0], 0, 'f', 2)
.arg(state.CB.blendConst[1], 0, 'f', 2)
.arg(state.CB.blendConst[2], 0, 'f', 2)
.arg(state.CB.blendConst[3], 0, 'f', 2));
ui->logicOp->setText(state.CB.logicOpEnable ? ToQStr(state.CB.logic) : lit("-"));
ui->alphaToOne->setPixmap(state.CB.alphaToOneEnable ? tick : cross);