Changeset 5211 in orxonox.OLD for trunk/src/lib/graphics/importer
- Timestamp:
- Sep 21, 2005, 2:21:41 PM (19 years ago)
- Location:
- trunk/src/lib/graphics/importer
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/graphics/importer/model.cc
r5115 r5211 350 350 delete this->normals; 351 351 if (this->triangles) 352 delete this->triangles;352 delete[] this->triangles; 353 353 354 354 this->vertices = NULL; 355 355 this->vTexture = NULL; 356 356 this->normals = NULL; 357 this->triangles = NULL; this->triangleCount = 0; 357 this->triangles = NULL; 358 this->triangleCount = 0; 358 359 } 359 360 -
trunk/src/lib/graphics/importer/texture.cc
r4836 r5211 45 45 Texture::~Texture() 46 46 { 47 if (this->texture )47 if (this->texture != 0) 48 48 glDeleteTextures(1, &this->texture); 49 49 }
Note: See TracChangeset
for help on using the changeset viewer.