From 71f571a54d9dd06a1187f7441e6ee85021c11e7a Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sat, 16 Apr 2011 09:26:45 +0000 Subject: fix [#26955] GL Texture Size doesn't work. Brecht: reverting this change you made r22532, which I cant see a reason for. --- source/blender/gpu/intern/gpu_draw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/blender/gpu/intern/gpu_draw.c b/source/blender/gpu/intern/gpu_draw.c index 200b42526f0..d87fe865826 100644 --- a/source/blender/gpu/intern/gpu_draw.c +++ b/source/blender/gpu/intern/gpu_draw.c @@ -531,7 +531,7 @@ int GPU_verify_image(Image *ima, ImageUser *iuser, int tftile, int compare, int } /* scale if not a power of two */ - if (!mipmap && (!is_pow2_limit(rectw) || !is_pow2_limit(recth))) { + if (!is_pow2_limit(rectw) || !is_pow2_limit(recth)) { rectw= smaller_pow2_limit(rectw); recth= smaller_pow2_limit(recth); -- cgit v1.2.3