Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6780 in orxonox.OLD for trunk/src/lib/graphics


Ignore:
Timestamp:
Jan 26, 2006, 6:47:32 PM (19 years ago)
Author:
bensch
Message:

trunk: war of the popers

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/graphics/graphics_engine.cc

    r6778 r6780  
    464464void GraphicsEngine::leave2DMode()
    465465{
     466
     467  glMatrixMode(GL_MODELVIEW);
     468  glPopMatrix();
     469
    466470  glMatrixMode(GL_PROJECTION);
    467   glPopMatrix();
    468 
    469   glMatrixMode(GL_MODELVIEW);
    470471  glPopMatrix();
    471472
     
    578579void GraphicsEngine::draw() const
    579580{
     581
     582  LightManager::getInstance()->draw();
     583
    580584  GraphicsEngine::storeMatrices();
    581 
    582   LightManager::getInstance()->draw();
    583 
    584585  Shader::suspendShader();
    585586
Note: See TracChangeset for help on using the changeset viewer.