From f386f73f9e4054a750d453fa2f5449c2f1d2e242 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Fri, 14 Mar 2003 15:40:59 +0000 Subject: Clean-up of parser error handling/reporting. Basic fragment program texture instructions are limping along. --- src/mesa/swrast/s_triangle.c | 3 ++- 1 file changed, 2 insertions(+), 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 76a45b96b5..538102f41f 100644 --- a/src/mesa/swrast/s_triangle.c +++ b/src/mesa/swrast/s_triangle.c @@ -1,4 +1,4 @@ -/* $Id: s_triangle.c,v 1.67 2003/03/01 01:50:26 brianp Exp $ */ +/* $Id: s_triangle.c,v 1.68 2003/03/14 15:41:00 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -1066,6 +1066,7 @@ _swrast_choose_triangle( GLcontext *ctx ) /* First see if we can use an optimized 2-D texture function */ if (ctx->Texture._EnabledUnits == 1 + && !ctx->FragmentProgram.Enabled && ctx->Texture.Unit[0]._ReallyEnabled == TEXTURE_2D_BIT && texObj2D->WrapS==GL_REPEAT && texObj2D->WrapT==GL_REPEAT -- cgit v1.2.3