glu/sgi: Initialize member of class O_pwlcurve.

This commit is contained in:
Vinson Lee 2010-01-09 23:25:49 -08:00
parent 683e3cb8db
commit f8737bda37
1 changed files with 2 additions and 0 deletions

View File

@ -64,6 +64,7 @@ O_pwlcurve::O_pwlcurve( long _type, long count, INREAL *array, long byte_stride,
owner = 0;
pts = trimpts;
npts = (int) count;
save = 0;
int i;
/* copy user data into internal trimming data structures */
@ -115,6 +116,7 @@ O_pwlcurve::O_pwlcurve( long _type, long count, INREAL *array, long byte_stride,
owner = 0;
pts = trimpts;
npts = (int) count;
save = 0;
/* copy user data into internal trimming data structures */
switch( _type ) {