Changeset 5212 in orxonox.OLD for trunk/src/lib/graphics
- Timestamp:
- Sep 21, 2005, 8:07:51 PM (19 years ago)
- Location:
- trunk/src/lib/graphics
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/graphics/importer/texture.cc
r5211 r5212 32 32 Texture::Texture(const char* imageName) 33 33 { 34 bAlpha = false;34 this->bAlpha = false; 35 35 this->texture = 0; 36 36 if (imageName) -
trunk/src/lib/graphics/light.cc
r5211 r5212 242 242 243 243 for (int i = 0; i < NUMBEROFLIGHTS; i++) 244 if (this->lights[i] )244 if (this->lights[i] != NULL) 245 245 delete lights[i]; 246 246 delete[] lights; -
trunk/src/lib/graphics/render2D/element_2d.cc
r5211 r5212 467 467 void Element2D::removeChild2D (Element2D* child) 468 468 { 469 child->remove2D(); 470 this->children->remove(child); 471 child->parent = NULL; 469 if (child != NULL) 470 { 471 child->remove2D(); 472 this->children->remove(child); 473 child->parent = NULL; 474 } 472 475 } 473 476
Note: See TracChangeset
for help on using the changeset viewer.