summaryrefslogtreecommitdiff
path: root/src/render/sdl2softwaregraphics.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-01-28 00:30:51 +0300
committerAndrei Karas <akaras@inbox.ru>2014-01-28 23:35:20 +0300
commita0b2deb4192bddad4d061f5d5df86411a437f01f (patch)
tree4739472959d83045eac4d7f7ddf3dc265d37b45c /src/render/sdl2softwaregraphics.h
parent226202ff807dc860991af0d6665ef9e9b48c1bed (diff)
downloadmanaverse-a0b2deb4192bddad4d061f5d5df86411a437f01f.tar.gz
manaverse-a0b2deb4192bddad4d061f5d5df86411a437f01f.tar.bz2
manaverse-a0b2deb4192bddad4d061f5d5df86411a437f01f.tar.xz
manaverse-a0b2deb4192bddad4d061f5d5df86411a437f01f.zip
add support for screen scale in OpenGL modes.
Diffstat (limited to 'src/render/sdl2softwaregraphics.h')
-rw-r--r--src/render/sdl2softwaregraphics.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/render/sdl2softwaregraphics.h b/src/render/sdl2softwaregraphics.h
index 295118067..3ac6cb212 100644
--- a/src/render/sdl2softwaregraphics.h
+++ b/src/render/sdl2softwaregraphics.h
@@ -129,6 +129,7 @@ class SDL2SoftwareGraphics final : public Graphics
void drawLine(int x1, int y1, int x2, int y2) override final;
bool setVideoMode(const int w, const int h,
+ const int scale,
const int bpp,
const bool fs,
const bool hwaccel,