diff options
| author | mimimi085181 <mimimi085181@gmail.com> | 2017-06-28 22:33:19 +0200 |
|---|---|---|
| committer | mimimi085181 <mimimi085181@gmail.com> | 2017-08-06 03:13:57 +0200 |
| commit | a21ac22e0786c538ea94d3631ece39c2ba07b771 (patch) | |
| tree | 50f3824d4054a84d41cb6f03df0bcaf4fce8b78e /Source/Core/VideoCommon/TextureCacheBase.cpp | |
| parent | 5e54290271d69b670a7c1274562cb72ff9cff116 (diff) | |
fix stored memory stride for normal textures
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 cd9b9dd19f..ce87a8c767 100644 --- a/Source/Core/VideoCommon/TextureCacheBase.cpp +++ b/Source/Core/VideoCommon/TextureCacheBase.cpp @@ -823,6 +823,7 @@ TextureCacheBase::TCacheEntry* TextureCacheBase::Load(const u32 stage) entry->SetHashes(base_hash, full_hash); entry->is_efb_copy = false; entry->is_custom_tex = hires_tex != nullptr; + entry->memory_stride = entry->BytesPerRow(); std::string basename = ""; if (g_ActiveConfig.bDumpTextures && !hires_tex) |
