From dbc30204cae020ff0be41fb8f20bbb3a531686b3 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 29 Jan 2014 00:55:06 +0300 Subject: allow apply scale without client restart. --- src/render/graphics.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/render/graphics.h') diff --git a/src/render/graphics.h b/src/render/graphics.h index adf1b97c4..0cb510195 100644 --- a/src/render/graphics.h +++ b/src/render/graphics.h @@ -348,9 +348,11 @@ class Graphics : public gcn::Graphics int getScale() const { return mScale; } - virtual bool allowScale() const + virtual bool isAllowScale() const { return false; } + void setScale(int scale); + int mWidth; int mHeight; int mActualWidth; -- cgit v1.2.3-70-g09d2