diff options
Diffstat (limited to 'canvas')
-rw-r--r-- | canvas/source/opengl/ogl_spritedevicehelper.cxx | 2 | ||||
-rw-r--r-- | canvas/source/opengl/ogl_spritedevicehelper.hxx | 8 |
2 files changed, 0 insertions, 10 deletions
diff --git a/canvas/source/opengl/ogl_spritedevicehelper.cxx b/canvas/source/opengl/ogl_spritedevicehelper.cxx index 1764f3078765..82345bd7045a 100644 --- a/canvas/source/opengl/ogl_spritedevicehelper.cxx +++ b/canvas/source/opengl/ogl_spritedevicehelper.cxx @@ -77,7 +77,6 @@ namespace oglcanvas { SpriteDeviceHelper::SpriteDeviceHelper() : - mpDevice(nullptr), mpSpriteCanvas(nullptr), maActiveSprites(), maLastUpdate(), @@ -138,7 +137,6 @@ namespace oglcanvas { // release all references mpSpriteCanvas = nullptr; - mpDevice = nullptr; mpTextureCache.reset(); if( mxContext->isInitialized() ) diff --git a/canvas/source/opengl/ogl_spritedevicehelper.hxx b/canvas/source/opengl/ogl_spritedevicehelper.hxx index 38053f22100f..ddc6e27a3e04 100644 --- a/canvas/source/opengl/ogl_spritedevicehelper.hxx +++ b/canvas/source/opengl/ogl_spritedevicehelper.hxx @@ -115,14 +115,6 @@ namespace oglcanvas bool activateWindowContext(); private: - /** Phyical output device - - Deliberately not a refcounted reference, because of - potential circular references for canvas. Needed to - create bitmaps - */ - css::rendering::XGraphicDevice* mpDevice; - /// Pointer to sprite canvas (owner of this helper), needed to create bitmaps SpriteCanvas* mpSpriteCanvas; |