From 06f606ce5761e673fca3f6b1f7dd40dace8a9906 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Wed, 5 Oct 2005 04:07:50 +0000 Subject: Remove _IsPowerOfTwo from gl_texture_object, not really needed. --- src/mesa/swrast/s_triangle.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mesa/swrast/s_triangle.c') diff --git a/src/mesa/swrast/s_triangle.c b/src/mesa/swrast/s_triangle.c index 42acdc8ff6..c364b0b0e8 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) -- cgit v1.2.3