diff options
| author | Markus Wick <markus+github@selfnet.de> | 2015-01-10 23:53:26 +0100 |
|---|---|---|
| committer | Markus Wick <markus+github@selfnet.de> | 2015-01-10 23:53:26 +0100 |
| commit | 5dd93fd62b491b2d6752645c8adb5ce8948c44f7 (patch) | |
| tree | a5ef949c223db80233e46642880250667b841e77 /Source/Core/VideoBackends/OGL/TextureCache.cpp | |
| parent | e32d63c43d7b03ec5137d3764ce9eb9309805809 (diff) | |
| parent | 56e93f8fdd7b8589d711948694ce16e71bbb9535 (diff) | |
Merge pull request #1866 from mimimi085181/master
Fix a small efb2ram bug
Diffstat (limited to 'Source/Core/VideoBackends/OGL/TextureCache.cpp')
| -rw-r--r-- | Source/Core/VideoBackends/OGL/TextureCache.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/Core/VideoBackends/OGL/TextureCache.cpp b/Source/Core/VideoBackends/OGL/TextureCache.cpp index 4199604cd0..9d4f713d96 100644 --- a/Source/Core/VideoBackends/OGL/TextureCache.cpp +++ b/Source/Core/VideoBackends/OGL/TextureCache.cpp @@ -295,6 +295,8 @@ void TextureCache::TCacheEntry::FromRenderTarget(u32 dstAddr, unsigned int dstFo u8* dst = Memory::GetPointer(addr); u64 const new_hash = GetHash64(dst,encoded_size,g_ActiveConfig.iSafeTextureCache_ColorSamples); + size_in_bytes = (u32)encoded_size; + // Mark texture entries in destination address range dynamic unless caching is enabled and the texture entry is up to date if (!g_ActiveConfig.bEFBCopyCacheEnable) TextureCache::MakeRangeDynamic(addr,encoded_size); |
