mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-20 22:15:46 +00:00
meant to add the unorms as well
This commit is contained in:
parent
9e0b778d11
commit
f137a4aa8a
1 changed files with 3 additions and 1 deletions
|
@ -1236,7 +1236,9 @@ void TextureCacheRuntime::ConvertImage(Framebuffer* dst, ImageView& dst_view, Im
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case PixelFormat::D32_FLOAT:
|
case PixelFormat::D32_FLOAT:
|
||||||
if (src_view.format == PixelFormat::A8B8G8R8_SRGB ||
|
if (src_view.format == PixelFormat::A8B8G8R8_UNORM ||
|
||||||
|
src_view.format == PixelFormat::B8G8R8A8_UNORM ||
|
||||||
|
src_view.format == PixelFormat::A8B8G8R8_SRGB ||
|
||||||
src_view.format == PixelFormat::B8G8R8A8_SRGB) {
|
src_view.format == PixelFormat::B8G8R8A8_SRGB) {
|
||||||
return blit_image_helper.ConvertABGR8ToD32F(dst, src_view);
|
return blit_image_helper.ConvertABGR8ToD32F(dst, src_view);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue