Module: Mesa Branch: mesa_7_7_branch Commit: 97b899374cf6f2f3926863ca70c5561ef6c189a9 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=97b899374cf6f2f3926863ca70c5561ef6c189a9
Author: Vinson Lee <[email protected]> Date: Tue Dec 29 20:45:24 2009 -0800 glu/sgi: Initialize member of struct GridVertex. --- src/glu/sgi/libnurbs/internals/gridvertex.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/glu/sgi/libnurbs/internals/gridvertex.h b/src/glu/sgi/libnurbs/internals/gridvertex.h index 36a65c7..2e27436 100644 --- a/src/glu/sgi/libnurbs/internals/gridvertex.h +++ b/src/glu/sgi/libnurbs/internals/gridvertex.h @@ -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]++; } _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
