Mesa (mesa_7_7_branch): glu/sgi: Initialize members of struct O_curve.
Vinson Lee
vlee at kemper.freedesktop.org
Sun Jan 3 04:04:44 UTC 2010
Module: Mesa
Branch: mesa_7_7_branch
Commit: fe27b07b0fe7b63755add9bf522d7efcbf1ffb9b
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=fe27b07b0fe7b63755add9bf522d7efcbf1ffb9b
Author: Vinson Lee <vlee at vmware.com>
Date: Sat Jan 2 20:04:00 2010 -0800
glu/sgi: Initialize members of struct O_curve.
---
src/glu/sgi/libnurbs/internals/reader.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/glu/sgi/libnurbs/internals/reader.h b/src/glu/sgi/libnurbs/internals/reader.h
index 3390ce8..cae6cad 100644
--- a/src/glu/sgi/libnurbs/internals/reader.h
+++ b/src/glu/sgi/libnurbs/internals/reader.h
@@ -64,7 +64,7 @@ struct O_curve : public PooledObj {
int save; /* 1 if in display list */
long nuid;
O_curve() { next = 0; used = 0; owner = 0;
- curve.o_pwlcurve = 0; }
+ curve.o_pwlcurve = 0; curvetype = ct_none; save = 0; nuid = 0; }
};
struct O_nurbscurve : public PooledObj {
More information about the mesa-commit
mailing list