diff options
-rw-r--r-- | vcl/inc/openglgdiimpl.hxx | 1 | ||||
-rw-r--r-- | vcl/opengl/gdiimpl.cxx | 5 |
2 files changed, 2 insertions, 4 deletions
diff --git a/vcl/inc/openglgdiimpl.hxx b/vcl/inc/openglgdiimpl.hxx index df2e91449565..4e38cb7b431e 100644 --- a/vcl/inc/openglgdiimpl.hxx +++ b/vcl/inc/openglgdiimpl.hxx @@ -69,7 +69,6 @@ protected: SalGraphics& mrParent; /// Pointer to the SalFrame or SalVirtualDevice SalGeometryProvider* mpProvider; - OpenGLFramebuffer* mpFramebuffer; OpenGLProgram* mpProgram; /// This idle handler is used to swap buffers after rendering. 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 ) |