summaryrefslogtreecommitdiff
path: root/src/sdlgraphics.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-08-21 14:52:03 +0300
committerAndrei Karas <akaras@inbox.ru>2013-08-24 21:08:14 +0300
commit31f6125fc7253e278bba5db46e08f370d92717c7 (patch)
tree29c2ca0149333e8c55ee98094cb40012c431e49d /src/sdlgraphics.h
parentec1beaa2ee07368368e9bd45fe400eedc57419eb (diff)
downloadManaVerse-31f6125fc7253e278bba5db46e08f370d92717c7.tar.gz
ManaVerse-31f6125fc7253e278bba5db46e08f370d92717c7.tar.bz2
ManaVerse-31f6125fc7253e278bba5db46e08f370d92717c7.tar.xz
ManaVerse-31f6125fc7253e278bba5db46e08f370d92717c7.zip
move sdl video mode initialisation from graphics into sdlgraphics.
Diffstat (limited to 'src/sdlgraphics.h')
-rw-r--r--src/sdlgraphics.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/sdlgraphics.h b/src/sdlgraphics.h
index 0d078fdce..18a03a46a 100644
--- a/src/sdlgraphics.h
+++ b/src/sdlgraphics.h
@@ -137,6 +137,10 @@ class SDLGraphics : public Graphics
void drawLine(int x1, int y1, int x2, int y2) override;
+ bool setVideoMode(const int w, const int h, const int bpp,
+ const bool fs, const bool hwaccel,
+ const bool resize, const bool noFrame);
+
protected:
virtual bool drawImage2(const Image *const image,
int srcX, int srcY,