Mesa (mesa_7_7_branch): glu/sgi: Initialize member of struct Property.
Vinson Lee
vlee at kemper.freedesktop.org
Fri Jan 1 22:40:02 UTC 2010
Module: Mesa
Branch: mesa_7_7_branch
Commit: 5d3d202ac991bd1a67ba40f4be145621b35620fe
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=5d3d202ac991bd1a67ba40f4be145621b35620fe
Author: Vinson Lee <vlee at vmware.com>
Date: Fri Jan 1 14:39:16 2010 -0800
glu/sgi: Initialize member of struct Property.
---
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 3f259c7..e5ec182 100644
--- a/src/glu/sgi/libnurbs/internals/reader.h
+++ b/src/glu/sgi/libnurbs/internals/reader.h
@@ -125,7 +125,7 @@ struct Property : public PooledObj {
Property( long _type, long _tag, INREAL _value )
{ type = _type; tag = _tag; value = (REAL) _value; }
Property( long _tag, INREAL _value )
- { type = 0; tag = _tag; value = (REAL) _value; }
+ { type = 0; tag = _tag; value = (REAL) _value; save = 0; }
};
class NurbsTessellator;
More information about the mesa-commit
mailing list