Browse Source

Initialize Line._Width

tags/mesa_3_5
Keith Whitwell 25 years ago
parent
commit
bed4c5bf58
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      src/mesa/main/context.c

+ 2
- 1
src/mesa/main/context.c View File

@@ -1,4 +1,4 @@
/* $Id: context.c,v 1.122 2001/02/26 23:58:12 brianp Exp $ */
/* $Id: context.c,v 1.123 2001/02/27 16:14:35 keithw Exp $ */

/*
* Mesa 3-D graphics library
@@ -974,6 +974,7 @@ init_attrib_groups( GLcontext *ctx )
ctx->Line.SmoothFlag = GL_FALSE;
ctx->Line.StippleFlag = GL_FALSE;
ctx->Line.Width = 1.0;
ctx->Line._Width = 1.0;
ctx->Line.StipplePattern = 0xffff;
ctx->Line.StippleFactor = 1;


Loading…
Cancel
Save