From e8f92c8a476c35f76212ccaccbbb55901a49058e Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 2 Feb 2012 19:42:02 +0300 Subject: Add "no frame" option to hide window frame. Disabled by default. --- src/openglgraphics.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/openglgraphics.h') 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, -- cgit v1.2.3-60-g2f50