Get rid of the cluthash in the texcache.

It's part of the key now, and better anyway.
This commit is contained in:
Unknown W. Brackets 2013-04-28 02:40:57 -07:00
parent 0cd65102af
commit 13aeb9e67f
2 changed files with 1 additions and 5 deletions

View File

@ -787,9 +787,7 @@ void TextureCache::SetTexture() {
entry->hash != texhash ||
entry->format != format ||
entry->maxLevel != maxLevel ||
(hasClut &&
(entry->clutformat != clutformat ||
entry->cluthash != Memory::Read_U32(clutaddr))))
(hasClut && entry->clutformat != clutformat))
match = false;
if (match) {
@ -874,7 +872,6 @@ void TextureCache::SetTexture() {
if (hasClut) {
entry->clutformat = clutformat;
entry->clutaddr = clutaddr;
entry->cluthash = Memory::Read_U32(clutaddr);
} else {
entry->clutaddr = 0;
}

View File

@ -73,7 +73,6 @@ private:
u8 clutformat;
u16 dim;
u32 clutaddr;
u32 cluthash;
u32 texture; //GLuint
int invalidHint;
u32 fullhash;