forked from eden-emu/eden
[vk] fix macos comp errors
Signed-off-by: crueter <crueter@eden-emu.dev>
This commit is contained in:
parent
896bfcdaaa
commit
711a305929
1 changed files with 2 additions and 2 deletions
|
@ -1373,8 +1373,8 @@ void TextureCacheRuntime::CopyImage(Image& dst, Image& src,
|
||||||
// these images that aren't size-compatible
|
// these images that aren't size-compatible
|
||||||
if (BytesPerBlock(src.info.format) != BytesPerBlock(dst.info.format)) {
|
if (BytesPerBlock(src.info.format) != BytesPerBlock(dst.info.format)) {
|
||||||
auto oneCopy = VideoCommon::ImageCopy{
|
auto oneCopy = VideoCommon::ImageCopy{
|
||||||
.src_offset = VideoCommon::Offset3D(0, 0, 0),
|
.src_offset = VideoCommon::Offset3D{0, 0, 0},
|
||||||
.dst_offset = VideoCommon::Offset3D(0, 0, 0),
|
.dst_offset = VideoCommon::Offset3D{0, 0, 0},
|
||||||
.extent = dst.info.size
|
.extent = dst.info.size
|
||||||
};
|
};
|
||||||
return ReinterpretImage(dst, src, std::span{&oneCopy, 1});
|
return ReinterpretImage(dst, src, std::span{&oneCopy, 1});
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue