diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-01-28 00:30:51 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-01-28 23:35:20 +0300 |
commit | a0b2deb4192bddad4d061f5d5df86411a437f01f (patch) | |
tree | 4739472959d83045eac4d7f7ddf3dc265d37b45c /src/render/openglgraphicsdef.hpp | |
parent | 226202ff807dc860991af0d6665ef9e9b48c1bed (diff) | |
download | mv-a0b2deb4192bddad4d061f5d5df86411a437f01f.tar.gz mv-a0b2deb4192bddad4d061f5d5df86411a437f01f.tar.bz2 mv-a0b2deb4192bddad4d061f5d5df86411a437f01f.tar.xz mv-a0b2deb4192bddad4d061f5d5df86411a437f01f.zip |
add support for screen scale in OpenGL modes.
Diffstat (limited to 'src/render/openglgraphicsdef.hpp')
-rw-r--r-- | src/render/openglgraphicsdef.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/render/openglgraphicsdef.hpp b/src/render/openglgraphicsdef.hpp index 9f6d9d319..6654254cb 100644 --- a/src/render/openglgraphicsdef.hpp +++ b/src/render/openglgraphicsdef.hpp @@ -21,6 +21,7 @@ */ bool setVideoMode(const int w, const int h, + const int scalle, const int bpp, const bool fs, const bool hwaccel, @@ -141,6 +142,9 @@ void completeCache() override final; + bool allowScale() const override final + { return true; } + static void bindTexture(const GLenum target, const GLuint texture); static GLuint mLastImage; |