]> git.localhorst.tv Git - l2e.git/blobdiff - src/graphics/Gauge.h
pass point as reference in graphics Draw functions
[l2e.git] / src / graphics / Gauge.h
index 01b7aeb7970d778a118afc46f1f44486e5c4bea1..b5e30c28a305a2327e6c1843301bccbbde6e5f8b 100644 (file)
@@ -23,7 +23,7 @@ public:
 public:
        int MinWidth() const { return startWidth + endWidth; }
        int Height() const { return height; }
-       void Draw(SDL_Surface *dest, geometry::Point<int> position, int width, Uint8 fill) const;
+       void Draw(SDL_Surface *dest, const geometry::Point<int> &position, int width, Uint8 fill) const;
 
 private:
        SDL_Surface *surface;