From 22144ab7552f0799bcfca506bf4ffa7f70a06649 Mon Sep 17 00:00:00 2001 From: Gareth Hughes Date: Mon, 12 Mar 2001 00:48:37 +0000 Subject: Consistent copyright info (version number, date) across all files. --- src/mesa/main/lines.c | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'src/mesa/main/lines.c') diff --git a/src/mesa/main/lines.c b/src/mesa/main/lines.c index 13e50832ad..303ab71379 100644 --- a/src/mesa/main/lines.c +++ b/src/mesa/main/lines.c @@ -1,10 +1,10 @@ -/* $Id: lines.c,v 1.28 2001/03/03 20:33:27 brianp Exp $ */ +/* $Id: lines.c,v 1.29 2001/03/12 00:48:38 gareth Exp $ */ /* * Mesa 3-D graphics library * Version: 3.5 * - * Copyright (C) 1999-2000 Brian Paul All Rights Reserved. + * Copyright (C) 1999-2001 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"), @@ -51,17 +51,17 @@ _mesa_LineWidth( GLfloat width ) return; } - if (ctx->Line.Width == width) + if (ctx->Line.Width == width) return; FLUSH_VERTICES(ctx, _NEW_LINE); ctx->Line.Width = width; - ctx->Line._Width = CLAMP(width, + ctx->Line._Width = CLAMP(width, ctx->Const.MinLineWidth, ctx->Const.MaxLineWidth); - if (width != 1.0) + if (width != 1.0) ctx->_TriangleCaps |= DD_LINE_WIDTH; else ctx->_TriangleCaps &= ~DD_LINE_WIDTH; @@ -91,5 +91,3 @@ _mesa_LineStipple( GLint factor, GLushort pattern ) if (ctx->Driver.LineStipple) ctx->Driver.LineStipple( ctx, factor, pattern ); } - - -- cgit v1.2.3