Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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


Ignore:
Timestamp:
Dec 10, 2005, 5:35:36 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: compile graphicsEngine on windows again

File:
1 edited

Legend:

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

    r5944 r6011  
    312312#ifdef __WIN32__
    313313    // REBUILDING TEXTURES (ON WINDOWS CONTEXT SWITCH)
    314     std::list<BaseObject*>* texList = ClassList::getList(CL_TEXTURE);
     314    const std::list<BaseObject*>* texList = ClassList::getList(CL_TEXTURE);
    315315    if (texList != NULL)
    316316    {
    317       std::list<BaseObject*>::iterator reTex;
     317      std::list<BaseObject*>::const_iterator reTex;
    318318      for (reTex = texList->begin(); reTex != texList->end(); reTex++)
    319319        dynamic_cast<Texture*>(*reTex)->rebuild();
    320320    }
    321321    // REBUILDING MODELS
    322     std::list<BaseObject*>* modelList = ClassList::getList(CL_MODEL);
     322    const std::list<BaseObject*>* modelList = ClassList::getList(CL_MODEL);
    323323    if (texList != NULL)
    324324    {
    325       std::list<BaseObject*>::iterator reModel;
     325      std::list<BaseObject*>::const_iterator reModel;
    326326      for (reModel = modelList->begin(); reModel != modelList->end(); reModel++)
    327327        dynamic_cast<Model*>(*reModel)->rebuild();
Note: See TracChangeset for help on using the changeset viewer.