Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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


Ignore:
Timestamp:
Apr 29, 2006, 12:13:38 AM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: move the Pollution of the ShellCommand to some other File

Location:
trunk/src/lib/graphics
Files:
4 edited

Legend:

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

    r7370 r7428  
    571571  //  LightManager::getInstance()->draw();
    572572
    573   GraphicsEngine::storeMatrices();
    574   Shader::suspendShader();
    575 
    576   Render2D::getInstance()->draw(E2D_LAYER_ALL);
    577   Shader::restoreShader();
    578 
    579573  if (this->graphicsEffects != NULL)
    580574  {
     
    584578      dynamic_cast<GraphicsEffect*>(*it)->draw();
    585579  }
     580  GraphicsEngine::storeMatrices();
     581  Shader::suspendShader();
     582
     583  Render2D::getInstance()->draw(E2D_LAYER_ALL);
     584  Shader::restoreShader();
    586585}
    587586
  • trunk/src/lib/graphics/text_engine/font.cc

    r7221 r7428  
    2929#include "stdlibincl.h"
    3030#include "compiler.h"
    31 
    3231using namespace std;
    3332
  • trunk/src/lib/graphics/text_engine/font.h

    r7221 r7428  
    7474    inline TTF_Font* getTTF() const { return this->fontTTF; };
    7575
    76 
    7776    /** @returns the default Font */
    7877    inline static Font* getDefaultFont() { if (Font::defaultFont == NULL) initDefaultFont(); return Font::defaultFont; };
  • trunk/src/lib/graphics/text_engine/text_engine.cc

    r7193 r7428  
    3737
    3838#include "debug.h"
    39 
    4039///////////////////
    4140/// TEXT-ENGINE ///
     
    104103/**
    105104 *  function to disable TTF_fonts
    106 */
     105 */
    107106void TextEngine::disableFonts()
    108107{
Note: See TracChangeset for help on using the changeset viewer.