Skip to content

texture-cache: Remove also scaled keys from the cache

We're storing in the texture cache images and scaled images appending the scaling factor to the key. When a file changes the cache key corresponding to that file is removed, but not the keys for the scaled ones so that images in the cache are never reloaded.

This patch removes all keys from the cache related to the file that changes, including those with the scaling factor.

Edited by Daniel Garcia Moreno

Merge request reports