summaryrefslogtreecommitdiff
path: root/src/openglgraphics.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-02-02 19:42:02 +0300
committerAndrei Karas <akaras@inbox.ru>2012-02-02 19:42:02 +0300
commite8f92c8a476c35f76212ccaccbbb55901a49058e (patch)
tree741bdd9b2068ded23ab92a06586422b400c53d24 /src/openglgraphics.h
parent2d0696abd547cf00fda04f070fb713c92acaf91b (diff)
downloadmanaplus-e8f92c8a476c35f76212ccaccbbb55901a49058e.tar.gz
manaplus-e8f92c8a476c35f76212ccaccbbb55901a49058e.tar.bz2
manaplus-e8f92c8a476c35f76212ccaccbbb55901a49058e.tar.xz
manaplus-e8f92c8a476c35f76212ccaccbbb55901a49058e.zip
Add "no frame" option to hide window frame. Disabled by default.
Diffstat (limited to 'src/openglgraphics.h')
-rw-r--r--src/openglgraphics.h3
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,