summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLouis-Francis Ratté-Boulianne <lfrb@collabora.com>2014-10-30 21:54:22 -0400
committerMarkus Mohrhard <markus.mohrhard@collabora.co.uk>2014-11-10 07:58:52 +0100
commit1e67a2a2335df2e2c63d70ea2deab1ae4f473a4d (patch)
tree67de31ad33f107eb95fc0c33fd6eeef2a4cc453d /include
parent930b301715748be6684e981da77718dc678d79e2 (diff)
vcl: Add methods to get size of OpenGLSalGraphicsImpl
Change-Id: I7eecbc236db12fb9453384985245eb5ca781e0f5
Diffstat (limited to 'include')
-rw-r--r--include/vcl/opengl/OpenGLContext.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/vcl/opengl/OpenGLContext.hxx b/include/vcl/opengl/OpenGLContext.hxx
index a8344d62e5a1..8e4c25711328 100644
--- a/include/vcl/opengl/OpenGLContext.hxx
+++ b/include/vcl/opengl/OpenGLContext.hxx
@@ -177,7 +177,7 @@ public:
void setWinPosAndSize(const Point &rPos, const Size& rSize);
void setWinSize(const Size& rSize);
- GLWindow& getOpenGLWindow() { return m_aGLWin;}
+ const GLWindow& getOpenGLWindow() const { return m_aGLWin;}
SystemChildWindow* getChildWindow();
const SystemChildWindow* getChildWindow() const;