Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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


Ignore:
Timestamp:
Apr 17, 2006, 1:00:09 PM (18 years ago)
Author:
bensch
Message:

orxonox/trunk: MUCH more comprehensive SubString

File:
1 edited

Legend:

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

    r7256 r7319  
    317317  PRINT(4)("Running on : vendor: %s,  renderer: %s,  version:%s\n", vendor, renderer, version);
    318318  PRINT(4)("Extensions:\n");
    319   for (unsigned int i = 0; i < this->hwExtensions.getCount(); i++)
    320     PRINT(4)("%d: %s\n", i, this->hwExtensions.getString(i).c_str());
     319  for (unsigned int i = 0; i < this->hwExtensions.size(); i++)
     320    PRINT(4)("%d: %s\n", i, this->hwExtensions[i].c_str());
    321321
    322322
     
    514514bool GraphicsEngine::hwSupportsEXT(const std::string& extension)
    515515{
    516   for (unsigned int i = 0; i < this->hwExtensions.getCount(); i++)
     516  for (unsigned int i = 0; i < this->hwExtensions.size(); i++)
    517517    if ( this->hwExtensions.getString(i) == extension)
    518518      return true;
Note: See TracChangeset for help on using the changeset viewer.