Mesa (mesa_7_7_branch): glu/sgi: Initialize members of class Mesher.
Vinson Lee
vlee at kemper.freedesktop.org
Mon Jan 11 00:10:12 UTC 2010
Module: Mesa
Branch: mesa_7_7_branch
Commit: 4fe51c7447fb260c32754df95a54b62f513cdd6b
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=4fe51c7447fb260c32754df95a54b62f513cdd6b
Author: Vinson Lee <vlee at vmware.com>
Date: Sun Jan 10 16:09:41 2010 -0800
glu/sgi: Initialize members of class Mesher.
---
src/glu/sgi/libnurbs/internals/mesher.cc | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/src/glu/sgi/libnurbs/internals/mesher.cc b/src/glu/sgi/libnurbs/internals/mesher.cc
index 9cc436a..b2d83f4 100644
--- a/src/glu/sgi/libnurbs/internals/mesher.cc
+++ b/src/glu/sgi/libnurbs/internals/mesher.cc
@@ -58,6 +58,9 @@ Mesher::Mesher( Backend& b )
{
stacksize = 0;
vdata = 0;
+ last[0] = 0;
+ last[1] = 0;
+ itop = 0;
lastedge = 0; //needed to prevent purify UMR
}
More information about the mesa-commit
mailing list