summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2003-01-20 15:21:41 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2003-01-20 15:21:41 +0000
commit64b4298181373d64ef2226935f70e9062536de8b (patch)
tree6f34610e2e5a8169b0318a4cd1031808c7b43848 /src
parenta12d12d1190f1baecdedc74a0ff1b62d22615dab (diff)
fix an assertion
Diffstat (limited to 'src')
-rw-r--r--src/mesa/swrast/s_lines.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/swrast/s_lines.c b/src/mesa/swrast/s_lines.c
index 001b4dc316..7fb5ef246f 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 */