diff options
| author | degasus <wickmarkus@web.de> | 2015-01-14 20:25:40 +0100 |
|---|---|---|
| committer | degasus <wickmarkus@web.de> | 2015-01-21 21:22:55 +0100 |
| commit | a353ead3cb489e404ab747b06eab37c7c4b35a08 (patch) | |
| tree | 71503ab64ed70d6949455b6da5468e3032230618 /Source/Core/VideoCommon | |
| parent | eeaad06a076ed7890a95a8ce126835d0b854675f (diff) | |
CustomTexture: Use always safe texture hash
Diffstat (limited to 'Source/Core/VideoCommon')
| -rw-r--r-- | Source/Core/VideoCommon/HiresTextures.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/VideoCommon/HiresTextures.cpp b/Source/Core/VideoCommon/HiresTextures.cpp index 9e81c6891b..ec678f8c50 100644 --- a/Source/Core/VideoCommon/HiresTextures.cpp +++ b/Source/Core/VideoCommon/HiresTextures.cpp @@ -118,12 +118,12 @@ std::string HiresTexture::GenBaseName(const u8* texture, size_t texture_size, co tlut += 2 * min; } - u64 tex_hash = GetHashHiresTexture(texture, (int)texture_size, g_ActiveConfig.iSafeTextureCache_ColorSamples); + u64 tex_hash = GetHashHiresTexture(texture, (int)texture_size); u64 tlut_hash = 0; u64 hash = tex_hash; if (tlut_size) { - tlut_hash = GetHashHiresTexture(tlut, (int)tlut_size, g_ActiveConfig.iSafeTextureCache_ColorSamples); + tlut_hash = GetHashHiresTexture(tlut, (int)tlut_size); hash ^= tlut_hash; } return StringFromFormat("%s_%08x_%i", SConfig::GetInstance().m_LocalCoreStartupParameter.m_strUniqueID.c_str(), (u32)hash, (u16)format); |
