Changeset 6693 in orxonox.OLD for branches/network/src/lib/particles/sprite_particles.cc
- Timestamp:
- Jan 25, 2006, 2:19:46 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/network/src/lib/particles/sprite_particles.cc
r6628 r6693 61 61 */ 62 62 SpriteParticles::~SpriteParticles() 63 { 64 // deleting all the living Particles 65 while (this->particles) 66 { 67 Particle* tmpDelPart = this->particles; 68 this->particles = this->particles->next; 69 delete tmpDelPart; 70 } 71 72 // deleting all the dead particles 73 while (this->deadList) 74 { 75 Particle* tmpDelPart = this->deadList; 76 this->deadList = this->deadList->next; 77 delete tmpDelPart; 78 } 79 } 63 { } 80 64 81 65 /** … … 125 109 GLboolean checkLight = false; 126 110 glGetBooleanv(GL_LIGHTING, &checkLight); 127 if (checkLight == GL_TRUE)128 glDisable(GL_LIGHTING);111 // if (checkLight == GL_TRUE) 112 // glDisable(GL_LIGHTING); 129 113 glMatrixMode(GL_MODELVIEW); 130 114 glDepthMask(GL_FALSE);
Note: See TracChangeset
for help on using the changeset viewer.