goat3dgfx

changeset 19:7aea3639c411

fixed uninitialized idata_valid variable in Mesh
author John Tsiombikas <nuclear@member.fsf.org>
date Sun, 08 Dec 2013 02:18:37 +0200
parents 6f82b9b6d6c3
children d9c8cd19c606
files src/mesh.cc
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line diff
     1.1 --- a/src/mesh.cc	Sun Dec 08 01:35:30 2013 +0200
     1.2 +++ b/src/mesh.cc	Sun Dec 08 02:18:37 2013 +0200
     1.3 @@ -68,7 +68,7 @@
     1.4  		//vattr[i].sdr_loc = -1;
     1.5  		vattr[i].data.clear();
     1.6  	}
     1.7 -	ibo_valid = false;
     1.8 +	ibo_valid = idata_valid = false;
     1.9  	idata.clear();
    1.10  
    1.11  	wire_ibo_valid = false;