Changeset 4782 in orxonox.OLD for orxonox/trunk/src/lib/graphics
- Timestamp:
- Jul 3, 2005, 12:26:16 PM (19 years ago)
- Location:
- orxonox/trunk/src/lib/graphics
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/lib/graphics/graphics_engine.cc
r4777 r4782 218 218 \param resizeInfo SDL information about the size of the new screen size 219 219 */ 220 int GraphicsEngine::resolutionChanged( SDL_ResizeEvent*resizeInfo)221 { 222 this->setResolution(resizeInfo ->w, resizeInfo->h, this->bitsPerPixel);220 int GraphicsEngine::resolutionChanged(const SDL_ResizeEvent& resizeInfo) 221 { 222 this->setResolution(resizeInfo.w, resizeInfo.h, this->bitsPerPixel); 223 223 } 224 224 -
orxonox/trunk/src/lib/graphics/graphics_engine.h
r4777 r4782 46 46 inline int getbbp() const { return this->bitsPerPixel; }; 47 47 48 int resolutionChanged( SDL_ResizeEvent*resizeInfo);48 int resolutionChanged(const SDL_ResizeEvent& resizeInfo); 49 49 50 50 static void enter2DMode();
Note: See TracChangeset
for help on using the changeset viewer.