diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-08-08 10:10:00 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-08-08 10:10:00 +0200 |
commit | 12a1179bcb2655f7415afe5e373b2c130cedf6e1 (patch) | |
tree | 5fba0bf0bd5d53e65dd014226141a7ff4142afa4 /canvas/source/opengl | |
parent | ac7e26e3a963c0c6d4b193a7dfc4d3e3e61efd31 (diff) |
-Werror,-Wunused-private-field
Change-Id: I03d8f81b17341e128c9c0517ecca2a76f7b4552c
Diffstat (limited to 'canvas/source/opengl')
-rw-r--r-- | canvas/source/opengl/ogl_spritedevicehelper.cxx | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/canvas/source/opengl/ogl_spritedevicehelper.cxx b/canvas/source/opengl/ogl_spritedevicehelper.cxx index 3f6b53482aed..76da6e1565ce 100644 --- a/canvas/source/opengl/ogl_spritedevicehelper.cxx +++ b/canvas/source/opengl/ogl_spritedevicehelper.cxx @@ -540,7 +540,6 @@ namespace oglcanvas class BufferContextImpl : public IBufferContext { ::basegfx::B2IVector maSize; - const SpriteDeviceHelper& mrDeviceHelper; GLuint mnFrambufferId; GLuint mnDepthId; GLuint mnTextureId; @@ -563,10 +562,8 @@ namespace oglcanvas } public: - BufferContextImpl(const SpriteDeviceHelper& rDeviceHelper, - const ::basegfx::B2IVector& rSize) : + BufferContextImpl(const ::basegfx::B2IVector& rSize) : maSize(rSize), - mrDeviceHelper(rDeviceHelper), mnFrambufferId(0), mnDepthId(0), mnTextureId(0) @@ -586,7 +583,7 @@ namespace oglcanvas IBufferContextSharedPtr SpriteDeviceHelper::createBufferContext(const ::basegfx::B2IVector& rSize) const { - return IBufferContextSharedPtr(new BufferContextImpl(*this, rSize)); + return IBufferContextSharedPtr(new BufferContextImpl(rSize)); } TextureCache& SpriteDeviceHelper::getTextureCache() const |