From f124e7dddcad9a2ffa34bc3966c8386aba563f3b Mon Sep 17 00:00:00 2001 From: "Unknown W. Brackets" Date: Mon, 3 Mar 2014 00:21:04 -0800 Subject: [PATCH] Fix a minor typo. --- GPU/GLES/TextureCache.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GPU/GLES/TextureCache.cpp b/GPU/GLES/TextureCache.cpp index aae7b36d1..4db841fde 100644 --- a/GPU/GLES/TextureCache.cpp +++ b/GPU/GLES/TextureCache.cpp @@ -1133,7 +1133,7 @@ void TextureCache::SetTexture(bool force) { #ifndef USING_GLES2 if (i > 0) { int tw = gstate.getTextureWidth(i); - int th = gstate.getTextureWidth(i); + int th = gstate.getTextureHeight(i); if (tw != 1 && tw != (gstate.getTextureWidth(i - 1) >> 1)) badMipSizes = true; else if (th != 1 && th != (gstate.getTextureHeight(i - 1) >> 1))