Changeset 6846 in orxonox.OLD for trunk/src/lib/particles
- Timestamp:
- Jan 30, 2006, 2:37:22 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/particles/sprite_particles.cc
r6812 r6846 103 103 void SpriteParticles::draw() const 104 104 { 105 glPushAttrib(GL_ENABLE_BIT);106 105 107 106 Particle* drawPart = particles; … … 110 109 GLboolean checkLight = false; 111 110 glGetBooleanv(GL_LIGHTING, &checkLight); 111 glPushAttrib(GL_LIGHTING_BIT); 112 112 if (checkLight == GL_TRUE) 113 113 glDisable(GL_LIGHTING); 114 114 115 glEnable(GL_ALPHA_TEST);116 115 glDepthMask(GL_FALSE); 117 116 /*
Note: See TracChangeset
for help on using the changeset viewer.