Changeset 5255 in orxonox.OLD for trunk/src/lib/graphics
- Timestamp:
- Sep 25, 2005, 6:23:38 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/graphics/graphics_engine.cc
r5242 r5255 222 222 this->bitsPerPixel = bpp; 223 223 224 if (this->screen )224 if (this->screen != NULL) 225 225 SDL_FreeSurface(screen); 226 226 if((this->screen = SDL_SetVideoMode(this->resolutionX, this->resolutionY, this->bitsPerPixel, this->videoFlags | this->fullscreenFlag)) == NULL)
Note: See TracChangeset
for help on using the changeset viewer.