Changeset 7319 in orxonox.OLD for trunk/src/lib/graphics
- Timestamp:
- Apr 17, 2006, 1:00:09 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/graphics/graphics_engine.cc
r7256 r7319 317 317 PRINT(4)("Running on : vendor: %s, renderer: %s, version:%s\n", vendor, renderer, version); 318 318 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()); 321 321 322 322 … … 514 514 bool GraphicsEngine::hwSupportsEXT(const std::string& extension) 515 515 { 516 for (unsigned int i = 0; i < this->hwExtensions. getCount(); i++)516 for (unsigned int i = 0; i < this->hwExtensions.size(); i++) 517 517 if ( this->hwExtensions.getString(i) == extension) 518 518 return true;
Note: See TracChangeset
for help on using the changeset viewer.