liverpool_to_vk: Remove wrong component swap formats

This commit is contained in:
IndecisiveTurtle 2024-12-13 18:46:03 +02:00
parent 306279901f
commit 08ed66f900

View file

@ -699,15 +699,6 @@ vk::Format AdjustColorBufferFormat(vk::Format base_format,
default:
break;
}
} else if (comp_swap_reverse) {
switch (base_format) {
case vk::Format::eR8G8B8A8Unorm:
return vk::Format::eA8B8G8R8UnormPack32;
case vk::Format::eR8G8B8A8Srgb:
return vk::Format::eA8B8G8R8SrgbPack32;
default:
break;
}
}
return base_format;
}