summaryrefslogtreecommitdiff
path: root/vcl/source/window/openglwin.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/window/openglwin.cxx')
-rw-r--r--vcl/source/window/openglwin.cxx6
1 files changed, 1 insertions, 5 deletions
diff --git a/vcl/source/window/openglwin.cxx b/vcl/source/window/openglwin.cxx
index 28414aefc7c0..7f160668d16d 100644
--- a/vcl/source/window/openglwin.cxx
+++ b/vcl/source/window/openglwin.cxx
@@ -15,7 +15,7 @@ class OpenGLWindowImpl
{
public:
OpenGLWindowImpl(Window* pWindow);
- OpenGLContext* getContext();
+ OpenGLContext* getContext() { return &maContext;}
private:
OpenGLContext maContext;
boost::scoped_ptr<SystemChildWindow> mpChildWindow;
@@ -29,10 +29,6 @@ OpenGLWindowImpl::OpenGLWindowImpl(Window* pWindow):
pWindow->SetMouseTransparent(false);
}
-OpenGLContext* OpenGLWindowImpl::getContext()
-{
- return &maContext;
-}
OpenGLWindow::OpenGLWindow(Window* pParent):
Window(pParent, 0),