Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Mar 12, 2006, 3:00:04 PM (19 years ago)
Author:
bensch
Message:

orxonox/std:: more strings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/std/src/lib/graphics/importer/texture_sequence.cc

    r6624 r7218  
    124124 * @returns true on success
    125125 */
    126 bool TextureSequence::addFrame(const char* imageName)
     126bool TextureSequence::addFrame(const std::string& imageName)
    127127{
    128   if (imageName == NULL)
    129     return false;
    130 
    131   SDL_Surface* addSurface = IMG_Load(imageName);
     128  SDL_Surface* addSurface = IMG_Load(imageName.c_str());
    132129  bool success = this->addFrame(addSurface);
    133130  delete addSurface;
Note: See TracChangeset for help on using the changeset viewer.