Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2011-04-16 13:26:45 +0400
committerCampbell Barton <ideasman42@gmail.com>2011-04-16 13:26:45 +0400
commit71f571a54d9dd06a1187f7441e6ee85021c11e7a (patch)
tree1b9c2b867fdacfb2c63a9be62827e342fa5aefa6
parent7f598451fca43d251ed4c0d0ba19239ad2e351f0 (diff)
fix [#26955] GL Texture Size doesn't work.
Brecht: reverting this change you made r22532, which I cant see a reason for.
-rw-r--r--source/blender/gpu/intern/gpu_draw.c2
1 files changed, 1 insertions, 1 deletions
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);