X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fgraphics%2FFrame.h;fp=src%2Fgraphics%2FFrame.h;h=d2e8dd4c02a868d0946d2f243865246a219db0db;hb=1162be37102b24df11f469495c0184f3f9a26ba0;hp=3743640333379fa31f2583c559e29bf98b7511e7;hpb=85ac93ffe31bfeee54aa6167111f1c15f14bc405;p=l2e.git diff --git a/src/graphics/Frame.h b/src/graphics/Frame.h index 3743640..d2e8dd4 100644 --- a/src/graphics/Frame.h +++ b/src/graphics/Frame.h @@ -25,7 +25,7 @@ public: int MinHeight() const { return 2 * borderHeight; } int BorderWidth() const { return borderWidth; } int BorderHeight() const { return borderHeight; } - void Draw(SDL_Surface *dest, geometry::Point position, int width, int height) const; + void Draw(SDL_Surface *dest, const geometry::Point &position, int width, int height) const; private: SDL_Surface *surface;