Changeset 5237 in orxonox.OLD for trunk/src/lib/graphics
- Timestamp:
- Sep 24, 2005, 10:41:52 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/graphics/graphics_engine.cc
r5225 r5237 214 214 this->bitsPerPixel = bpp; 215 215 216 if (this->screen) 217 SDL_FreeSurface(screen); 216 218 if((this->screen = SDL_SetVideoMode(this->resolutionX, this->resolutionY, this->bitsPerPixel, this->videoFlags | this->fullscreenFlag)) == NULL) 217 219 {
Note: See TracChangeset
for help on using the changeset viewer.