Mesa (mesa_7_7_branch): glu/sgi: Initialize members of struct O_nurbssurface.
Vinson Lee
vlee at kemper.freedesktop.org
Wed Dec 30 06:30:39 UTC 2009
Module: Mesa
Branch: mesa_7_7_branch
Commit: de95e5768bf5186a29c75981350042581b760684
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=de95e5768bf5186a29c75981350042581b760684
Author: Vinson Lee <vlee at vmware.com>
Date: Tue Dec 29 22:29:53 2009 -0800
glu/sgi: Initialize members of struct O_nurbssurface.
---
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 8a8dceb..3f259c7 100644
--- a/src/glu/sgi/libnurbs/internals/reader.h
+++ b/src/glu/sgi/libnurbs/internals/reader.h
@@ -106,7 +106,7 @@ struct O_nurbssurface : public PooledObj {
int save; /* 1 if in display list */
int used; /* 1 if prev called in block */
O_nurbssurface( long _type )
- { type = _type; owner = 0; next = 0; used = 0; }
+ { bezier_patches = 0; type = _type; owner = 0; next = 0; save = 0; used = 0; }
};
struct O_surface : public PooledObj {
More information about the mesa-commit
mailing list