From 840e969cadf36e17372da397eb758405150de6f8 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 25 May 2014 21:24:46 +0300 Subject: Fix texture size detection and saving. --- src/test/testlauncher.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/test/testlauncher.cpp') diff --git a/src/test/testlauncher.cpp b/src/test/testlauncher.cpp index f2167af24..c3b424368 100644 --- a/src/test/testlauncher.cpp +++ b/src/test/testlauncher.cpp @@ -190,7 +190,7 @@ int TestLauncher::testTextures() int maxSize = 1024; int nextSize = 1024; int sz = OpenGLImageHelper::getTextureSize() + 1; - if (sz < 16500) + if (sz > 16500) sz = 16500; for (nextSize = 512; nextSize < sz; nextSize *= 2) -- cgit v1.2.3-70-g09d2