mirror of
https://github.com/stenzek/duckstation.git
synced 2025-06-07 20:15:32 +00:00
MetalDevice: Fix import of non-page-aligned buffers
This commit is contained in:
parent
e3e0fe6445
commit
2bf0838634
@ -1290,6 +1290,7 @@ std::unique_ptr<MetalDownloadTexture> MetalDownloadTexture::Create(u32 width, u3
|
||||
}
|
||||
|
||||
map_ptr = static_cast<u8*>(memory);
|
||||
memory_offset = page_offset;
|
||||
}
|
||||
|
||||
return std::unique_ptr<MetalDownloadTexture>(new MetalDownloadTexture(
|
||||
|
Loading…
x
Reference in New Issue
Block a user