From 64b4298181373d64ef2226935f70e9062536de8b Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Mon, 20 Jan 2003 15:21:41 +0000 Subject: [PATCH] fix an assertion --- src/mesa/swrast/s_lines.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/mesa/swrast/s_lines.c b/src/mesa/swrast/s_lines.c index 001b4dc3168..7fb5ef246f9 100644 --- a/src/mesa/swrast/s_lines.c +++ b/src/mesa/swrast/s_lines.c @@ -1,10 +1,10 @@ -/* $Id: s_lines.c,v 1.33 2002/11/14 03:48:03 brianp Exp $ */ +/* $Id: s_lines.c,v 1.34 2003/01/20 15:21:41 brianp Exp $ */ /* * Mesa 3-D graphics library * Version: 5.1 * - * Copyright (C) 1999-2002 Brian Paul All Rights Reserved. + * Copyright (C) 1999-2003 Brian Paul All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), @@ -304,7 +304,7 @@ _swrast_choose_line( GLcontext *ctx ) if (ctx->Line.SmoothFlag) { /* antialiased lines */ _swrast_choose_aa_line_function(ctx); - ASSERT(swrast->Triangle); + ASSERT(swrast->Line); } else if (ctx->Texture._EnabledUnits) { /* textured lines */ -- 2.30.2