diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-04-16 13:26:45 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-04-16 13:26:45 +0400 |
commit | 71f571a54d9dd06a1187f7441e6ee85021c11e7a (patch) | |
tree | 1b9c2b867fdacfb2c63a9be62827e342fa5aefa6 /source/blender/gpu/intern/gpu_draw.c | |
parent | 7f598451fca43d251ed4c0d0ba19239ad2e351f0 (diff) |
fix [#26955] GL Texture Size doesn't work.
Brecht: reverting this change you made r22532, which I cant see a reason for.
Diffstat (limited to 'source/blender/gpu/intern/gpu_draw.c')
-rw-r--r-- | source/blender/gpu/intern/gpu_draw.c | 2 |
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); |