diff options
author | Louis-Francis Ratté-Boulianne <lfrb@collabora.com> | 2014-12-02 09:05:19 -0500 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2014-12-03 14:41:17 +0100 |
commit | b1cfad5e8b38fc02de498993cf46e2404ced1058 (patch) | |
tree | 5c21e22e18fbea007462c68cba5ef7757c3fd283 /vcl/inc/openglgdiimpl.hxx | |
parent | 3bde660f7c0d3fca42b1a431c644cf86d2c5ade8 (diff) |
vcl: Don't create new contexts for Virtual Devices on Windows
Change-Id: I561a8142f986aca89e796ce2c4a0902fae41f9e6
Diffstat (limited to 'vcl/inc/openglgdiimpl.hxx')
-rw-r--r-- | vcl/inc/openglgdiimpl.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/inc/openglgdiimpl.hxx b/vcl/inc/openglgdiimpl.hxx index d328ab724b2f..03d1c239b0d6 100644 --- a/vcl/inc/openglgdiimpl.hxx +++ b/vcl/inc/openglgdiimpl.hxx @@ -110,12 +110,12 @@ protected: bool AcquireContext(); bool ReleaseContext(); + // retrieve the default context for offscreen rendering + virtual OpenGLContext* GetDefaultContext(); + // create a new context for window rendering virtual OpenGLContext* CreateWinContext() = 0; - // create a new context for offscreen rendering - virtual OpenGLContext* CreatePixmapContext() = 0; - // check whether the given context can be used by this instance virtual bool UseContext( OpenGLContext* pContext ) = 0; |