Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5767 in orxonox.OLD for trunk/src/lib/graphics/graphics_engine.cc


Ignore:
Timestamp:
Nov 24, 2005, 7:43:08 PM (18 years ago)
Author:
bensch
Message:

orxonox/trunk: removed support for text-render-static

File:
1 edited

Legend:

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

    r5755 r5767  
    313313    if (texList != NULL)
    314314      {
    315         tIterator<BaseObject>* texIt = texList->getIterator();
    316         Texture* reTex = static_cast<Texture*>(texIt->firstElement());
    317         while (reTex != NULL)
    318           {
    319             reTex->rebuild();
    320            
    321             reTex = static_cast<Texture*>(texIt->nextElement());
    322           }
     315        tIterator<BaseObject>* texIt = texList->getIterator();
     316        Texture* reTex = static_cast<Texture*>(texIt->firstElement());
     317        while (reTex != NULL)
     318          {
     319            reTex->rebuild();
     320
     321            reTex = static_cast<Texture*>(texIt->nextElement());
     322          }
    323323      }
    324324#endif /* __WIN32__ */
     
    584584  if (this->geTextCFPS == NULL)
    585585  {
    586     this->geTextCFPS = new Text("fonts/arial_black.ttf", 15, TEXT_RENDER_DYNAMIC);
     586    this->geTextCFPS = new Text("fonts/arial_black.ttf", 15);
    587587    this->geTextCFPS->setName("curFPS");
    588588    this->geTextCFPS->setAlignment(TEXT_ALIGN_LEFT);
     
    591591  if (this->geTextMaxFPS == NULL)
    592592  {
    593     this->geTextMaxFPS = new Text("fonts/arial_black.ttf", 15, TEXT_RENDER_DYNAMIC);
     593    this->geTextMaxFPS = new Text("fonts/arial_black.ttf", 15);
    594594    this->geTextMaxFPS->setName("MaxFPS");
    595595    this->geTextMaxFPS->setAlignment(TEXT_ALIGN_LEFT);
     
    598598  if (this->geTextMinFPS == NULL)
    599599  {
    600     this->geTextMinFPS = new Text("fonts/arial_black.ttf", 15, TEXT_RENDER_DYNAMIC);
     600    this->geTextMinFPS = new Text("fonts/arial_black.ttf", 15);
    601601    this->geTextMinFPS->setName("MinFPS");
    602602    this->geTextMinFPS->setAlignment(TEXT_ALIGN_LEFT);
Note: See TracChangeset for help on using the changeset viewer.