use config for viewer reassoc

Fixes #1661
This commit is contained in:
itsmattkc
2021-12-02 13:15:09 -08:00
parent 1828c2fd73
commit cfab883374
3 changed files with 7 additions and 2 deletions
+3 -1
View File
@@ -391,7 +391,9 @@ void ViewerDisplayWidget::OnPaint()
texture_to_draw = deinterlace_texture_;
}
renderer()->BlitColorManaged(color_service(), texture_to_draw, Renderer::kAlphaNone, device_params, false,
renderer()->BlitColorManaged(color_service(), texture_to_draw,
Config::Current()[QStringLiteral("ReassocLinToNonLin")].toBool() ? Renderer::kAlphaAssociated : Renderer::kAlphaNone,
device_params, false,
combined_matrix_flipped_, crop_matrix_);
}
}