forked from eden-emu/eden
[texuter_cache] #ifdef image type linear return windows only (#2720)
fixes some mario rabbits issue Authored by amicuchu Reviewed-on: eden-emu/eden#2720 Reviewed-by: crueter <crueter@eden-emu.dev> Reviewed-by: MaranBr <maranbr@eden-emu.dev> Co-authored-by: unknown <sahyno1996@gmail.com> Co-committed-by: unknown <sahyno1996@gmail.com>
This commit is contained in:
parent
e2a8f3154f
commit
1c90b099d3
1 changed files with 2 additions and 0 deletions
|
|
@ -1377,9 +1377,11 @@ void TextureCacheRuntime::CopyImage(Image& dst, Image& src,
|
|||
// As per the size-compatible formats section of vulkan, copy manually via ReinterpretImage
|
||||
// these images that aren't size-compatible
|
||||
if (BytesPerBlock(src.info.format) != BytesPerBlock(dst.info.format)) {
|
||||
#ifdef __WIN32__
|
||||
if (src.info.type == ImageType::Linear || dst.info.type == ImageType::Linear) {
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
auto oneCopy = VideoCommon::ImageCopy{
|
||||
.src_offset = VideoCommon::Offset3D(0, 0, 0),
|
||||
.dst_offset = VideoCommon::Offset3D(0, 0, 0),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue