Changeset 8475 in orxonox.OLD for branches/gui/src/lib/graphics/graphics_engine.cc
- Timestamp:
- Jun 15, 2006, 4:00:04 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/gui/src/lib/graphics/graphics_engine.cc
r8316 r8475 397 397 this->setResolution(this->resolutionX, this->resolutionY, this->bitsPerPixel); 398 398 } 399 400 void GraphicsEngine::toggleFullscreen() 401 { 402 if (this->fullscreenFlag == SDL_FULLSCREEN) 403 this->fullscreenFlag = 0; 404 else 405 this->fullscreenFlag = SDL_FULLSCREEN; 406 this->setResolution(this->resolutionX, this->resolutionY, this->bitsPerPixel); 407 } 408 399 409 400 410 /**
Note: See TracChangeset
for help on using the changeset viewer.