Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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


Ignore:
Timestamp:
Jul 25, 2005, 3:48:55 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: extemely stupid aiming, but it works. Had to fix quite a few bugs in the process.

Location:
orxonox/trunk/src/lib/graphics
Files:
2 edited

Legend:

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

    r4864 r4955  
    316316void GraphicsEngine::enter2DMode()
    317317{
    318   GraphicsEngine::storeMatrices();
     318  //GraphicsEngine::storeMatrices();
    319319  SDL_Surface *screen = SDL_GetVideoSurface();
    320320
     
    433433void GraphicsEngine::draw() const
    434434{
     435  GraphicsEngine::storeMatrices();
    435436  Render2D::getInstance()->draw(E2D_ALL_LAYERS);
    436437  LightManager::getInstance()->draw();
  • orxonox/trunk/src/lib/graphics/render2D/render_2d.cc

    r4862 r4955  
    114114/**
    115115 * renders all the Elements of the Render2D-engine
     116 * @param layer the Layer to draw
    116117 */
    117118void Render2D::draw(unsigned int layer) const
     
    137138    drawLayer << 1;
    138139  }
    139 
    140140  GraphicsEngine::leave2DMode();
    141141
Note: See TracChangeset for help on using the changeset viewer.