summaryrefslogtreecommitdiffstats
path: root/src/mesa/swrast/s_triangle.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2005-10-05 04:07:50 +0000
committerBrian Paul <[email protected]>2005-10-05 04:07:50 +0000
commit06f606ce5761e673fca3f6b1f7dd40dace8a9906 (patch)
treeec9f713dd946aa264add2fb877d3dda7594b0a95 /src/mesa/swrast/s_triangle.c
parent198a88923c185bb0530787cd80cb9e1d700f2c91 (diff)
Remove _IsPowerOfTwo from gl_texture_object, not really needed.
Diffstat (limited to 'src/mesa/swrast/s_triangle.c')
-rw-r--r--src/mesa/swrast/s_triangle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/swrast/s_triangle.c b/src/mesa/swrast/s_triangle.c
index 42acdc8ff60..c364b0b0e84 100644
--- a/src/mesa/swrast/s_triangle.c
+++ b/src/mesa/swrast/s_triangle.c
@@ -1093,7 +1093,7 @@ _swrast_choose_triangle( GLcontext *ctx )
&& ctx->Texture.Unit[0]._ReallyEnabled == TEXTURE_2D_BIT
&& texObj2D->WrapS == GL_REPEAT
&& texObj2D->WrapT == GL_REPEAT
- && texObj2D->_IsPowerOfTwo
+ && texImg->_IsPowerOfTwo
&& texImg->Border == 0
&& texImg->Width == texImg->RowStride
&& (format == MESA_FORMAT_RGB || format == MESA_FORMAT_RGBA)