From 5f9bbd205fec7d66643861a5204c6cc7dec639ba Mon Sep 17 00:00:00 2001 From: Eugenio Favalli Date: Sun, 5 Mar 2006 22:33:09 +0000 Subject: Merged new_playerset branch into trunk. --- src/resources/image.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/resources/image.cpp') diff --git a/src/resources/image.cpp b/src/resources/image.cpp index 52b6f447..3b860c01 100644 --- a/src/resources/image.cpp +++ b/src/resources/image.cpp @@ -157,11 +157,11 @@ Image* Image::load(void *buffer, unsigned int bufferSize, int height = tmpImage->h; int realWidth = 1, realHeight = 1; - while (realWidth < width && realWidth < 1024) { + while (realWidth < width && realWidth < 2048) { realWidth *= 2; } - while (realHeight < height && realHeight < 1024) { + while (realHeight < height && realHeight < 2048) { realHeight *= 2; } -- cgit v1.2.3-60-g2f50