summaryrefslogtreecommitdiff
path: root/canvas
diff options
context:
space:
mode:
Diffstat (limited to 'canvas')
-rw-r--r--canvas/source/opengl/ogl_spritedevicehelper.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/canvas/source/opengl/ogl_spritedevicehelper.cxx b/canvas/source/opengl/ogl_spritedevicehelper.cxx
index bab170e37d24..08ab90564c68 100644
--- a/canvas/source/opengl/ogl_spritedevicehelper.cxx
+++ b/canvas/source/opengl/ogl_spritedevicehelper.cxx
@@ -515,7 +515,6 @@ namespace oglcanvas
class BufferContextImpl : public IBufferContext
{
- ::basegfx::B2IVector maSize;
GLuint mnFrambufferId;
GLuint mnDepthId;
GLuint mnTextureId;
@@ -537,12 +536,11 @@ namespace oglcanvas
public:
explicit BufferContextImpl(const ::basegfx::B2IVector& rSize) :
- maSize(rSize),
mnFrambufferId(0),
mnDepthId(0),
mnTextureId(0)
{
- OpenGLHelper::createFramebuffer(maSize.getX(), maSize.getY(), mnFrambufferId,
+ OpenGLHelper::createFramebuffer(rSize.getX(), rSize.getY(), mnFrambufferId,
mnDepthId, mnTextureId, false);
}