Mesa (mesa_7_7_branch): glu/sgi: Initialize members of class Knotvector.
Vinson Lee
vlee at kemper.freedesktop.org
Fri Jan 1 22:46:59 UTC 2010
Module: Mesa
Branch: mesa_7_7_branch
Commit: a349687d499a76496dc9433d5437398f774f0bd4
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a349687d499a76496dc9433d5437398f774f0bd4
Author: Vinson Lee <vlee at vmware.com>
Date: Fri Jan 1 14:46:11 2010 -0800
glu/sgi: Initialize members of class Knotvector.
---
src/glu/sgi/libnurbs/internals/knotvector.cc | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/src/glu/sgi/libnurbs/internals/knotvector.cc b/src/glu/sgi/libnurbs/internals/knotvector.cc
index 9eb5cba..dcbf006 100644
--- a/src/glu/sgi/libnurbs/internals/knotvector.cc
+++ b/src/glu/sgi/libnurbs/internals/knotvector.cc
@@ -61,6 +61,9 @@ void Knotvector::init( long _knotcount, long _stride, long _order, INREAL *_knot
Knotvector::Knotvector( void )
{
+ knotcount = 0;
+ stride = 0;
+ order = 0;
knotlist = 0;
}
More information about the mesa-commit
mailing list