From 8bdbe37c91b9c642ab2a3f4cbe265a9455870366 Mon Sep 17 00:00:00 2001 From: degasus Date: Sat, 17 May 2014 00:24:18 +0200 Subject: TexCache: Wipe pal hash --- Source/Core/VideoCommon/TextureCacheBase.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'Source/Core/VideoCommon/TextureCacheBase.h') diff --git a/Source/Core/VideoCommon/TextureCacheBase.h b/Source/Core/VideoCommon/TextureCacheBase.h index e3eb6a00fa..d84d90fc61 100644 --- a/Source/Core/VideoCommon/TextureCacheBase.h +++ b/Source/Core/VideoCommon/TextureCacheBase.h @@ -33,7 +33,6 @@ public: u32 addr; u32 size_in_bytes; u64 hash; - //u32 pal_hash; u32 format; enum TexCacheEntryType type; @@ -64,10 +63,9 @@ public: virtual_height = _virtual_height; } - void SetHashes(u64 _hash/*, u32 _pal_hash*/) + void SetHashes(u64 _hash) { hash = _hash; - //pal_hash = _pal_hash; } -- cgit v1.2.3 From 38f42da55aa49d438fda123ccd7c7126e23714f4 Mon Sep 17 00:00:00 2001 From: degasus Date: Wed, 5 Nov 2014 22:09:39 +0100 Subject: TexCache: remove expanded_width This variable isn't use any more. --- Source/Core/VideoCommon/TextureCacheBase.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source/Core/VideoCommon/TextureCacheBase.h') diff --git a/Source/Core/VideoCommon/TextureCacheBase.h b/Source/Core/VideoCommon/TextureCacheBase.h index d84d90fc61..0b8cf48918 100644 --- a/Source/Core/VideoCommon/TextureCacheBase.h +++ b/Source/Core/VideoCommon/TextureCacheBase.h @@ -98,7 +98,7 @@ public: static bool Find(u32 start_address, u64 hash); virtual TCacheEntryBase* CreateTexture(unsigned int width, unsigned int height, - unsigned int expanded_width, unsigned int tex_levels, PC_TexFormat pcfmt) = 0; + unsigned int tex_levels, PC_TexFormat pcfmt) = 0; virtual TCacheEntryBase* CreateRenderTargetTexture(unsigned int scaled_tex_w, unsigned int scaled_tex_h) = 0; virtual void CompileShaders() = 0; // currently only implemented by OGL -- cgit v1.2.3