mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 13:58:04 +02:00
glu/sgi: Initialize member of struct GridVertex.
This commit is contained in:
parent
5169775345
commit
97b899374c
1 changed files with 1 additions and 1 deletions
|
|
@ -38,7 +38,7 @@
|
|||
|
||||
struct GridVertex {
|
||||
long gparam[2];
|
||||
GridVertex( void ) {}
|
||||
GridVertex( void ) { gparam[0] = 0, gparam[1] = 0; }
|
||||
GridVertex( long u, long v ) { gparam[0] = u, gparam[1] = v; }
|
||||
void set( long u, long v ) { gparam[0] = u, gparam[1] = v; }
|
||||
long nextu() { return gparam[0]++; }
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue