Merge pull request #7914 from stenzek/partial-update-infinite-loop TextureCacheBase: Fix infinite loop in DoPartialTextureUpdates