From: Vinson Lee Date: Wed, 30 Dec 2009 06:29:53 +0000 (-0800) Subject: glu/sgi: Initialize members of struct O_nurbssurface. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=de95e5768bf5186a29c75981350042581b760684;p=mesa.git glu/sgi: Initialize members of struct O_nurbssurface. --- diff --git a/src/glu/sgi/libnurbs/internals/reader.h b/src/glu/sgi/libnurbs/internals/reader.h index 8a8dcebb501..3f259c777b5 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 {