Преглед изворни кода

Initialize Line._Width

tags/mesa_3_5
Keith Whitwell пре 25 година
родитељ
комит
bed4c5bf58
1 измењених фајлова са 2 додато и 1 уклоњено
  1. 2
    1
      src/mesa/main/context.c

+ 2
- 1
src/mesa/main/context.c Прегледај датотеку

@@ -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…
Откажи
Сачувај