summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-10-25 16:21:10 +0300
committerAndrei Karas <akaras@inbox.ru>2013-10-25 16:21:10 +0300
commit81024f23d9bb0329dcf293455405fefa1dcd67a0 (patch)
tree756f377aea560792b7283329884d0a2bf3b2a9df
parent5184d99bdc319271ee35046640478ab76d3754cc (diff)
downloadmanaverse-81024f23d9bb0329dcf293455405fefa1dcd67a0.tar.gz
manaverse-81024f23d9bb0329dcf293455405fefa1dcd67a0.tar.bz2
manaverse-81024f23d9bb0329dcf293455405fefa1dcd67a0.tar.xz
manaverse-81024f23d9bb0329dcf293455405fefa1dcd67a0.zip
fix compilation with SDL2.
-rw-r--r--src/render/sdl2softwaregraphics.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/render/sdl2softwaregraphics.h b/src/render/sdl2softwaregraphics.h
index eb97cf4de..ab71f33e4 100644
--- a/src/render/sdl2softwaregraphics.h
+++ b/src/render/sdl2softwaregraphics.h
@@ -129,7 +129,7 @@ class SDL2SoftwareGraphics : public Graphics
void drawRectangle(const gcn::Rectangle &rect) override final;
- void drawPoint(int x, int y) override final override final;
+ void drawPoint(int x, int y) override final;
void drawLine(int x1, int y1, int x2, int y2) override final;
@@ -155,7 +155,7 @@ class SDL2SoftwareGraphics : public Graphics
int SDL_FakeUpperBlit(const SDL_Surface *const src,
SDL_Rect *const srcrect,
const SDL_Surface *const dst,
- SDL_Rect *dstrect) const override final;
+ SDL_Rect *dstrect) const;
void drawHLine(int x1, int y, int x2);