Revision: 36186
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=36186
Author: campbellbarton
Date: 2011-04-16 09:26:45 +0000 (Sat, 16 Apr 2011)
Log Message:
-----------
fix [#26955] GL Texture Size doesn't work.
Brecht: reverting this change you made r22532, which I cant see a reason for.
Revision Links:
--------------
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=22532
Modified Paths:
--------------
trunk/blender/source/blender/gpu/intern/gpu_draw.c
Modified: trunk/blender/source/blender/gpu/intern/gpu_draw.c
===================================================================
--- trunk/blender/source/blender/gpu/intern/gpu_draw.c 2011-04-15 23:42:43 UTC
(rev 36185)
+++ trunk/blender/source/blender/gpu/intern/gpu_draw.c 2011-04-16 09:26:45 UTC
(rev 36186)
@@ -531,7 +531,7 @@
}
/* 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);
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs