Mesa (mesa_7_7_branch): glu/sgi: Initialize members of class StoredVertex.
Vinson Lee
vlee at kemper.freedesktop.org
Sun Jan 10 07:56:31 UTC 2010
Module: Mesa
Branch: mesa_7_7_branch
Commit: a5815c36f77d150e4a9915a8b289df2aa942c23c
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a5815c36f77d150e4a9915a8b289df2aa942c23c
Author: Vinson Lee <vlee at vmware.com>
Date: Sat Jan 9 23:55:05 2010 -0800
glu/sgi: Initialize members of class StoredVertex.
---
src/glu/sgi/libnurbs/interface/glsurfeval.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/glu/sgi/libnurbs/interface/glsurfeval.h b/src/glu/sgi/libnurbs/interface/glsurfeval.h
index 1567c6b..621e593 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; }
More information about the mesa-commit
mailing list