Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6859 in orxonox.OLD for trunk/src/util/loading


Ignore:
Timestamp:
Jan 30, 2006, 5:24:12 AM (19 years ago)
Author:
bensch
Message:

trunk: error-correction

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/util/loading/resource_manager.cc

    r6664 r6859  
    488488      {
    489489        PRINTF(4)("Image %s resides to %s\n", fileName, fullName);
    490         tmpResource->pointer = new Texture(fullName);
     490        tmpResource->pointer = new Texture(fullName, tmpResource->param[0].getInt());
    491491      }
    492492      else
     
    742742          else if ((*resource)->param[0] == ((MultiType)param0).getString())
    743743            match = true;
     744          break;
    744745#endif /* NO_SHADERS */
    745746#ifndef NO_TEXTURES
     
    752753          else if ((*resource)->param[0] ==  param0.getInt())
    753754            match = true;
     755          break;
    754756#endif /* NO_TEXTURES */
    755757        default:
Note: See TracChangeset for help on using the changeset viewer.