Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4782 in orxonox.OLD for orxonox/trunk/src/lib/graphics


Ignore:
Timestamp:
Jul 3, 2005, 12:26:16 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: orxonox-events registered, solved an error in ClassList

Location:
orxonox/trunk/src/lib/graphics
Files:
2 edited

Legend:

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

    r4777 r4782  
    218218   \param resizeInfo SDL information about the size of the new screen size
    219219*/
    220 int GraphicsEngine::resolutionChanged(SDL_ResizeEvent* resizeInfo)
    221 {
    222   this->setResolution(resizeInfo->w, resizeInfo->h, this->bitsPerPixel);
     220int GraphicsEngine::resolutionChanged(const SDL_ResizeEvent& resizeInfo)
     221{
     222  this->setResolution(resizeInfo.w, resizeInfo.h, this->bitsPerPixel);
    223223}
    224224
  • orxonox/trunk/src/lib/graphics/graphics_engine.h

    r4777 r4782  
    4646    inline int getbbp() const { return this->bitsPerPixel; };
    4747
    48     int resolutionChanged(SDL_ResizeEvent* resizeInfo);
     48    int resolutionChanged(const SDL_ResizeEvent& resizeInfo);
    4949
    5050    static void enter2DMode();
Note: See TracChangeset for help on using the changeset viewer.