Changeset 6768 in orxonox.OLD for branches/network/src/lib/graphics/effects/graphics_effect.cc
- Timestamp:
- Jan 26, 2006, 1:13:10 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/network/src/lib/graphics/effects/graphics_effect.cc
r6741 r6768 13 13 ### File Specific: 14 14 main-programmer: Patrick Boenzli 15 co-programmer: ...16 15 */ 17 16 … … 21 20 #include "graphics_effect.h" 22 21 22 #include "graphics_engine.h" 23 23 #include "load_param.h" 24 24 … … 35 35 GraphicsEffect::GraphicsEffect(const TiXmlElement* root) 36 36 { 37 this->bActivated = false; 38 39 this->bActivated = GraphicsEngine::getInstance()->loadGraphicsEffect(this); 37 40 38 41 if (root != NULL) … … 45 48 */ 46 49 GraphicsEffect::~GraphicsEffect() 47 {} 50 { 51 if( this->bActivated) 52 GraphicsEngine::getInstance()->unloadGraphicsEffect(this); 53 } 48 54 49 55
Note: See TracChangeset
for help on using the changeset viewer.