1
0
Fork 0
forked from wry/wry

vulkan: apply color space transforms to colors

This commit is contained in:
Julian Orth 2025-03-01 15:58:02 +01:00
parent b5044d7fe7
commit c4d0fdd4bb
4 changed files with 73 additions and 13 deletions

View file

@ -556,7 +556,7 @@ impl GfxFramebuffer for VulkanImage {
cd: &Rc<ColorDescription>,
ops: &[GfxApiOpt],
clear: Option<&Color>,
_clear_cd: &Rc<LinearColorDescription>,
clear_cd: &Rc<LinearColorDescription>,
region: &Region,
blend_buffer: Option<&Rc<dyn GfxBlendBuffer>>,
blend_cd: &Rc<ColorDescription>,
@ -581,6 +581,7 @@ impl GfxFramebuffer for VulkanImage {
cd,
ops,
clear,
clear_cd,
region,
blend_buffer,
blend_cd,