summaryrefslogtreecommitdiff
path: root/src/opengl1graphics.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-01-30 17:03:58 +0300
committerAndrei Karas <akaras@inbox.ru>2012-01-30 19:53:08 +0300
commitc2351483dc7c918a592f2a1f52745c6552fb7d0c (patch)
tree3bea6a36d7133b32bb67b037aad115b7785e6550 /src/opengl1graphics.h
parent8e244c7e5b6c98b1a6e67d4e387a9c231a42b15c (diff)
downloadmv-c2351483dc7c918a592f2a1f52745c6552fb7d0c.tar.gz
mv-c2351483dc7c918a592f2a1f52745c6552fb7d0c.tar.bz2
mv-c2351483dc7c918a592f2a1f52745c6552fb7d0c.tar.xz
mv-c2351483dc7c918a592f2a1f52745c6552fb7d0c.zip
Add option for enable/disable window resize.
Diffstat (limited to 'src/opengl1graphics.h')
-rw-r--r--src/opengl1graphics.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/opengl1graphics.h b/src/opengl1graphics.h
index 87458d8b9..fd6ec2df0 100644
--- a/src/opengl1graphics.h
+++ b/src/opengl1graphics.h
@@ -45,10 +45,12 @@ class OpenGL1Graphics : 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 setVideoMode(int w, int h, int bpp, bool fs,
+ bool hwaccel, bool resize);
bool drawImage(Image *image,
int srcX, int srcY,