diff options
| author | Markus Wick <markus+github@selfnet.de> | 2015-01-08 13:29:45 +0100 |
|---|---|---|
| committer | Markus Wick <markus+github@selfnet.de> | 2015-01-08 13:29:45 +0100 |
| commit | f0f8384639ac0c3e6dbc8ec16338e765591eda3a (patch) | |
| tree | 21780b6839fe7c96e17b9a358f9544424dc9a720 /Source/Core/Common/Hash.cpp | |
| parent | 25c6f6e6a1603b833954461a10966edeaf58eae8 (diff) | |
| parent | c6dd5044d6accb22441893afaa1338b0c93b769d (diff) | |
Merge pull request #1785 from degasus/custom_texture
VideoCommon: Custom texture handling
Diffstat (limited to 'Source/Core/Common/Hash.cpp')
| -rw-r--r-- | Source/Core/Common/Hash.cpp | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/Source/Core/Common/Hash.cpp b/Source/Core/Common/Hash.cpp index f9a3737d34..973e30da02 100644 --- a/Source/Core/Common/Hash.cpp +++ b/Source/Core/Common/Hash.cpp @@ -510,19 +510,15 @@ u64 GetHash64(const u8 *src, int len, u32 samples) } // sets the hash function used for the texture cache -void SetHash64Function(bool useHiresTextures) +void SetHash64Function() { - if (useHiresTextures) - { - ptrHashFunction = &GetHashHiresTexture; - } #if _M_SSE >= 0x402 - else if (cpu_info.bSSE4_2 && !useHiresTextures) // sse crc32 version + if (cpu_info.bSSE4_2) // sse crc32 version { ptrHashFunction = &GetCRC32; } -#endif else +#endif { ptrHashFunction = &GetMurmurHash3; } |
