Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4769 in orxonox.OLD for orxonox/trunk/src/lib


Ignore:
Timestamp:
Jul 2, 2005, 12:09:10 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: now there is the ability to Fly in fullscreen-mode

File:
1 edited

Legend:

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

    r4768 r4769  
    150150  this->bitsPerPixel = bpp;
    151151
    152   if((this->screen = SDL_SetVideoMode(this->resolutionX, this->resolutionY, this->bitsPerPixel, this->videoFlags | SDL_FULLSCREEN)) == NULL)
     152  if((this->screen = SDL_SetVideoMode(this->resolutionX, this->resolutionY, this->bitsPerPixel, this->videoFlags | this->fullscreenFlag)) == NULL)
    153153    {
    154154      PRINTF(1)("Could not SDL_SetVideoMode(%d, %d, %d, %d): %s\n", this->resolutionX, this->resolutionY, this->bitsPerPixel, this->videoFlags, SDL_GetError());
Note: See TracChangeset for help on using the changeset viewer.