Checks on a background thread since the complexity should be O(n^2). The specific texture data it checks shouldn't change after R_LoadTextures so it doesn't need a mutex.