From: Vinson Lee Date: Sun, 10 Jan 2010 07:55:05 +0000 (-0800) Subject: glu/sgi: Initialize members of class StoredVertex. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a5815c36f77d150e4a9915a8b289df2aa942c23c;p=mesa.git glu/sgi: Initialize members of class StoredVertex. --- diff --git a/src/glu/sgi/libnurbs/interface/glsurfeval.h b/src/glu/sgi/libnurbs/interface/glsurfeval.h index 1567c6b098c..621e59391aa 100644 --- a/src/glu/sgi/libnurbs/interface/glsurfeval.h +++ b/src/glu/sgi/libnurbs/interface/glsurfeval.h @@ -83,7 +83,7 @@ typedef struct surfEvalMachine{ class StoredVertex { public: - StoredVertex() { type = 0; } + StoredVertex() { type = 0; coord[0] = 0; coord[1] = 0; point[0] = 0; point[1] = 0; } ~StoredVertex(void) {} void saveEvalCoord(REAL x, REAL y) {coord[0] = x; coord[1] = y; type = TYPECOORD; }