From e1332b1d7ed4696a4a727906bce62689b8eb329c Mon Sep 17 00:00:00 2001 From: iwubcode Date: Thu, 21 Dec 2017 11:22:46 -0600 Subject: Texture Cache Base: Move PAL vertical scaling to be baked into the texture size. This saves on a number of multiplications and fixes an issue where we were multiplying the y-scaling factor by the srcRectangle's height + 1 which was causing a crash in some GC titles --- Source/Core/VideoCommon/TextureCacheBase.h | 1 - 1 file changed, 1 deletion(-) (limited to 'Source/Core/VideoCommon/TextureCacheBase.h') diff --git a/Source/Core/VideoCommon/TextureCacheBase.h b/Source/Core/VideoCommon/TextureCacheBase.h index 65ccd4196d..8b4562227e 100644 --- a/Source/Core/VideoCommon/TextureCacheBase.h +++ b/Source/Core/VideoCommon/TextureCacheBase.h @@ -126,7 +126,6 @@ public: // content, aren't just downscaled bool should_force_safe_hashing = false; // for XFB bool is_xfb_copy = false; - float y_scale = 1.0f; float gamma = 1.0f; u64 id; -- cgit v1.2.3