Changeset 5261 in orxonox.OLD for trunk/src/lib/graphics/graphics_engine.cc
- Timestamp:
- Sep 26, 2005, 10:34:21 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/graphics/graphics_engine.cc
r5260 r5261 225 225 } 226 226 227 /** 228 * grabs the Hardware Specifics 229 * checks for all the different HW-types 230 */ 227 231 void GraphicsEngine::grabHardwareSettings() 228 232 { … … 308 312 } 309 313 310 311 314 /** 312 315 * Signalhandler, for when the resolution has changed … … 322 325 */ 323 326 bool GraphicsEngine::texturesEnabled = true; 324 325 326 327 327 328 /** … … 378 379 return false; 379 380 }; 380 381 381 382 382 /** … … 470 470 PRINT(4)(" | %d x %d\n", this->videoModes[i]->w, this->videoModes[i]->h); 471 471 } 472 } 473 474 /** 475 * checks wether a certain extension is availiable 476 * @param extension the Extension to check for (ex. GL_ARB_texture_env_dot3) 477 * @return true if it is, false otherwise 478 */ 479 bool GraphicsEngine::hwSupportsEXT(const char* extension) 480 { 481 if (this->hwExtensions != NULL) 482 for (unsigned int i = 0; i < this->hwExtensions->getCount(); i++) 483 if (!strcmp(extension, this->hwExtensions->getString(i))) 484 return true; 485 return false; 472 486 } 473 487 … … 554 568 555 569 /** 556 \brief processes the events for orxonox mainclass570 \brief processes the events for the GraphicsEngine class 557 571 * @param the event to handle 558 572 */
Note: See TracChangeset
for help on using the changeset viewer.