This commit is contained in:
Timon
2026-07-05 18:24:58 +00:00
parent 6a54dcb5da
commit 0cfe3cd053
3 changed files with 15 additions and 22 deletions

View File

@@ -75,7 +75,6 @@ impl TextureCache {
}
if Arc::strong_count(texture) == 1 {
free_bytes -= texture.memory_size_estimate();
texture.destroy();
false
} else {
true