mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-23 16:45:47 +00:00
Texture Cache: Fix memory usage on ScaleDown.
This commit is contained in:
parent
74ce2f4f6f
commit
795daca444
1 changed files with 0 additions and 4 deletions
|
@ -878,10 +878,6 @@ bool TextureCache<P>::ScaleDown(Image& image) {
|
||||||
if (!rescaled) {
|
if (!rescaled) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
const bool has_copy = image.HasScaled();
|
|
||||||
if (!has_copy) {
|
|
||||||
total_used_memory -= GetScaledImageSizeBytes(image);
|
|
||||||
}
|
|
||||||
InvalidateScale(image);
|
InvalidateScale(image);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue