summaryrefslogtreecommitdiff
path: root/vcl/opengl/gdiimpl.cxx
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2016-01-12 17:11:15 +0200
committerTor Lillqvist <tml@collabora.com>2016-01-13 07:58:54 +0200
commit2fc2f752447725ece32ce55d5db21b912902b3cf (patch)
tree4b4971bc55570c64cd0ef21c1ccf86b84823fcf4 /vcl/opengl/gdiimpl.cxx
parentbfd690701ff414496ad77c2b268bf7200947dc3a (diff)
Bin unused field
Change-Id: I664e3815bcdaff82a03309ae387154914471a80b
Diffstat (limited to 'vcl/opengl/gdiimpl.cxx')
-rw-r--r--vcl/opengl/gdiimpl.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/vcl/opengl/gdiimpl.cxx b/vcl/opengl/gdiimpl.cxx
index 73804c7e39e2..fc738ca2ae9f 100644
--- a/vcl/opengl/gdiimpl.cxx
+++ b/vcl/opengl/gdiimpl.cxx
@@ -65,7 +65,6 @@ OpenGLSalGraphicsImpl::OpenGLSalGraphicsImpl(SalGraphics& rParent, SalGeometryPr
: mpContext(nullptr)
, mrParent(rParent)
, mpProvider(pProvider)
- , mpFramebuffer(nullptr)
, mpProgram(nullptr)
, mpFlush(new OpenGLFlushIdle(this))
, mbUseScissor(false)
@@ -470,13 +469,13 @@ bool OpenGLSalGraphicsImpl::CheckOffscreenTexture()
// TODO: lfrb: User GL_ARB_copy_image?
OpenGLTexture aNewTex = OpenGLTexture( GetWidth(), GetHeight() );
- mpFramebuffer = mpContext->AcquireFramebuffer( aNewTex );
+ mpContext->AcquireFramebuffer( aNewTex );
DrawTexture( maOffscreenTex, aPosAry );
maOffscreenTex = aNewTex;
}
else
{
- mpFramebuffer = mpContext->AcquireFramebuffer( maOffscreenTex );
+ mpContext->AcquireFramebuffer( maOffscreenTex );
CHECK_GL_ERROR();
if( bClearTexture )