mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-10-20 23:20:36 +02:00
tie gpu modified regions to rescalable textures
This commit is contained in:
parent
7e55b4b563
commit
f93e4031ba
1 changed files with 2 additions and 1 deletions
|
|
@ -1122,7 +1122,8 @@ void TextureCache<P>::RefreshContents(Image& image, ImageId image_id) {
|
|||
|
||||
TrackImage(image, image_id);
|
||||
|
||||
if (image.info.rescaleable) {
|
||||
if (image.info.rescaleable &&
|
||||
IsRegionGpuModified(image.cpu_addr, image.guest_size_bytes)) {
|
||||
runtime.TransitionImageLayout(image);
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue