summaryrefslogtreecommitdiff
path: root/canvas
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@collabora.com>2015-09-08 15:57:55 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2015-09-08 15:47:49 +0000
commit82d25c02f8569aadf166fa92fb581fa68c12fbd1 (patch)
treefc31690a42f22ebdebd9f44a414b8bd5002d4879 /canvas
parentf19049065aa3e187377ab73cc70b6faa7803102a (diff)
tdf#94006 - need an explicit dispose for GLContext's SystemChildWindow.
Previously we would get an explicit ~OpenGLContext - and potentially leave FMR's around for other OGC users, now we treat the other users properly - we need an explicit dispose() to get Window::dispose ordering right. Change-Id: I5edcbd73399b6db3dbcfb391570f364f9ab0c70d Reviewed-on: https://gerrit.libreoffice.org/18412 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Diffstat (limited to 'canvas')
-rw-r--r--canvas/source/opengl/ogl_spritedevicehelper.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/canvas/source/opengl/ogl_spritedevicehelper.cxx b/canvas/source/opengl/ogl_spritedevicehelper.cxx
index ab7e76493f23..b6de667094f8 100644
--- a/canvas/source/opengl/ogl_spritedevicehelper.cxx
+++ b/canvas/source/opengl/ogl_spritedevicehelper.cxx
@@ -90,7 +90,7 @@ namespace oglcanvas
{}
SpriteDeviceHelper::~SpriteDeviceHelper()
- {}
+ { mxContext->dispose(); }
void SpriteDeviceHelper::init( vcl::Window& rWindow,
SpriteCanvas& rSpriteCanvas,