Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4515 in orxonox.OLD for orxonox/trunk/src


Ignore:
Timestamp:
Jun 6, 2005, 1:14:06 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: particles now get rendered as expected

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/lib/particles/particle_system.cc

    r4493 r4515  
    287287    case PARTICLE_SPRITE:
    288288      glMatrixMode(GL_MODELVIEW);
    289       glDisable(GL_DEPTH_TEST);
     289      glDepthMask(GL_FALSE);
    290290
    291291      material->select();
     
    333333          drawPart = drawPart->next;
    334334        }
    335 
    336      
     335      glDepthMask(GL_TRUE);
    337336      break;
    338337
Note: See TracChangeset for help on using the changeset viewer.