- Timestamp:
- Oct 6, 2005, 9:25:01 PM (19 years ago)
- Location:
- trunk/src/lib/graphics
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/graphics/graphics_engine.cc
r5285 r5286 84 84 85 85 delete Render2D::getInstance(); 86 //TextEngine 86 87 delete TextEngine::getInstance(); 87 88 -
trunk/src/lib/graphics/render2D/element_2d.cc
r5285 r5286 35 35 { 36 36 this->init(); 37 38 37 this->setParent2D(NullElement2D::getInstance()); 39 NullElement2D::getInstance()->debug(0);40 38 } 41 39 … … 51 49 this->init(); 52 50 51 // check Parenting, and if ok parent the stuff 53 52 if (this->parent != NULL) 54 53 this->setParent2D(parent); -
trunk/src/lib/graphics/render2D/render_2d.cc
r5117 r5286 51 51 Render2D::~Render2D () 52 52 { 53 delete NullElement2D::getInstance(); 54 53 55 for (int i = 0; i < E2D_LAYER_COUNT; i++) 54 56 delete this->element2DList[i]; 55 57 56 delete NullElement2D::getInstance();57 58 Render2D::singletonRef = NULL; 58 59 }
Note: See TracChangeset
for help on using the changeset viewer.