This will, in most cases, make the GPU invalidate a whole lot of textures unnecessarily.

If there is some game that calls this function often causing a performance problem, we should probably enable more rigourous texture hashing instead, but that's for later of course.