diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-02-02 19:42:02 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-02-02 19:42:02 +0300 |
commit | e8f92c8a476c35f76212ccaccbbb55901a49058e (patch) | |
tree | 741bdd9b2068ded23ab92a06586422b400c53d24 /src/openglgraphics.h | |
parent | 2d0696abd547cf00fda04f070fb713c92acaf91b (diff) | |
download | manaverse-e8f92c8a476c35f76212ccaccbbb55901a49058e.tar.gz manaverse-e8f92c8a476c35f76212ccaccbbb55901a49058e.tar.bz2 manaverse-e8f92c8a476c35f76212ccaccbbb55901a49058e.tar.xz manaverse-e8f92c8a476c35f76212ccaccbbb55901a49058e.zip |
Add "no frame" option to hide window frame. Disabled by default.
Diffstat (limited to 'src/openglgraphics.h')
-rw-r--r-- | src/openglgraphics.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/openglgraphics.h b/src/openglgraphics.h index 065a77512..f3bdc4470 100644 --- a/src/openglgraphics.h +++ b/src/openglgraphics.h @@ -45,11 +45,12 @@ class OpenGLGraphics : public Graphics * the next call to setVideoMode(). Only implemented on MacOS for now. */ void setSync(bool sync); + bool getSync() const { return mSync; } bool setVideoMode(int w, int h, int bpp, bool fs, - bool hwaccel, bool resize); + bool hwaccel, bool resize, bool noFrame); bool drawImage(Image *image, int srcX, int srcY, |