diff options
| author | Stenzek <stenzek@gmail.com> | 2019-03-20 20:05:51 +1000 |
|---|---|---|
| committer | Stenzek <stenzek@gmail.com> | 2019-03-20 20:05:51 +1000 |
| commit | bf0b52efc61bf1fc32c36358f4e5e6ac48636ff5 (patch) | |
| tree | 41b9492af05377b6013ad5ad38940ae32278eed8 /Source/Core/VideoCommon/TextureCacheBase.cpp | |
| parent | 54e09886d8fdaa1eefbb28e19165fdea4900b61a (diff) | |
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; } |
