Mesa (mesa_7_7_branch): glu/sgi: Initialize members of class directedLine.

Vinson Lee vlee at kemper.freedesktop.org
Tue Dec 29 14:29:58 PST 2009


Module: Mesa
Branch: mesa_7_7_branch
Commit: 495b8f8f7a58616d7b75a84d828e3ea356b9a1d4
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=495b8f8f7a58616d7b75a84d828e3ea356b9a1d4

Author: Vinson Lee <vlee at vmware.com>
Date:   Tue Dec 29 14:28:33 2009 -0800

glu/sgi: Initialize members of class directedLine.

---

 src/glu/sgi/libnurbs/nurbtess/directedLine.cc |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/glu/sgi/libnurbs/nurbtess/directedLine.cc b/src/glu/sgi/libnurbs/nurbtess/directedLine.cc
index 5be1ae3..1ceda02 100644
--- a/src/glu/sgi/libnurbs/nurbtess/directedLine.cc
+++ b/src/glu/sgi/libnurbs/nurbtess/directedLine.cc
@@ -309,6 +309,8 @@ directedLine::directedLine()
   nextPolygon = NULL;
   rootBit = 0;/*important to initilzae to 0 meaning not root yet*/
   rootLink = NULL;
+  direction = INCREASING;
+  sline = NULL;
 }
 
 directedLine::~directedLine()



More information about the mesa-commit mailing list