From 62aaba82f47f2c49b9086208508bd6fb075597c5 Mon Sep 17 00:00:00 2001 From: Kyzentun Date: Fri, 20 Feb 2015 20:29:07 -0700 Subject: [PATCH] Unbreak resolution texture hint. --- src/RageBitmapTexture.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/RageBitmapTexture.cpp b/src/RageBitmapTexture.cpp index c6628ed6ba..2652676f0b 100644 --- a/src/RageBitmapTexture.cpp +++ b/src/RageBitmapTexture.cpp @@ -29,7 +29,7 @@ static void GetResolutionFromFileName( RString sPath, int &iWidth, int &iHeight // Check for nonsense values. Some people might not intend the hint. -Kyz int maybe_width= StringToInt(asMatches[0]); int maybe_height= StringToInt(asMatches[1]); - if(maybe_width <= 0 || maybe_height <= 0 || maybe_width > iWidth || maybe_height > iHeight) + if(maybe_width <= 0 || maybe_height <= 0) { return; }