Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6846 in orxonox.OLD for trunk/src/lib/particles


Ignore:
Timestamp:
Jan 30, 2006, 2:37:22 AM (19 years ago)
Author:
bensch
Message:

trunk: valgrind

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/particles/sprite_particles.cc

    r6812 r6846  
    103103void SpriteParticles::draw() const
    104104{
    105   glPushAttrib(GL_ENABLE_BIT);
    106105
    107106  Particle* drawPart = particles;
     
    110109  GLboolean checkLight = false;
    111110  glGetBooleanv(GL_LIGHTING, &checkLight);
     111  glPushAttrib(GL_LIGHTING_BIT);
    112112  if (checkLight == GL_TRUE)
    113113    glDisable(GL_LIGHTING);
    114114
    115   glEnable(GL_ALPHA_TEST);
    116115  glDepthMask(GL_FALSE);
    117116  /*
Note: See TracChangeset for help on using the changeset viewer.