diff options
| author | Tilka <tilkax@gmail.com> | 2019-03-21 23:22:17 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-03-21 23:22:17 +0000 |
| commit | 87cf94ec866844eee39ab69d5da17af4ace80443 (patch) | |
| tree | 13f5a093b50c47860c8990de89d62d1da680e89f /Source/Core/VideoCommon/TextureCacheBase.cpp | |
| parent | b016417106be29876e24ca6d2b70dd8db8db5323 (diff) | |
| parent | bf0b52efc61bf1fc32c36358f4e5e6ac48636ff5 (diff) | |
Merge pull request #7914 from stenzek/partial-update-infinite-loop
TextureCacheBase: Fix infinite loop in DoPartialTextureUpdates
Diffstat (limited to 'Source/Core/VideoCommon/TextureCacheBase.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/TextureCacheBase.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/Core/VideoCommon/TextureCacheBase.cpp b/Source/Core/VideoCommon/TextureCacheBase.cpp index 0418eef40e..a5ff0081c5 100644 --- a/Source/Core/VideoCommon/TextureCacheBase.cpp +++ b/Source/Core/VideoCommon/TextureCacheBase.cpp @@ -398,6 +398,7 @@ TextureCacheBase::DoPartialTextureUpdates(TCacheEntry* entry_to_update, u8* pale static_cast<u32>(dst_x) >= entry_to_update->native_width || static_cast<u32>(dst_y) >= entry_to_update->native_height) { + ++iter.first; continue; } |
