Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 15, 2005, 7:13:23 PM (19 years ago)
Author:
bensch
Message:

orxonox/branches/2d-recalc: some recalculations.. do not know it i will continue with this, as has certain disadvantages over the old approach… maybe later

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2d-recalc/src/lib/graphics/graphics_engine.cc

    r5380 r5381  
    410410     depending on how you have your OpenGL state set up.
    411411  */
    412   glPushAttrib(GL_ENABLE_BIT);
     412  glPushAttrib(GL_ENABLE_BIT); // storte the state of all enable-bits.
    413413  glDisable(GL_DEPTH_TEST);
    414414  glDisable(GL_CULL_FACE);
    415   glDisable(GL_LIGHTING);  // will be set back when leaving 2D-mode
    416 
     415  glDisable(GL_LIGHTING);
    417416  glViewport(0, 0, screen->w, screen->h);
    418417
Note: See TracChangeset for help on using the changeset viewer.