summaryrefslogtreecommitdiff
path: root/vcl/opengl/texture.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-04-01 08:33:09 +0200
committerNoel Grandin <noel@peralex.com>2015-04-01 10:37:02 +0200
commit3e672693e35e720177eac98094c42570fca9cfbb (patch)
treec9ef0c732ca293a4b26037a72cd6e612dfaa4ac5 /vcl/opengl/texture.cxx
parentedc189dbfac35d9a587ec50d0f382bb66444eca8 (diff)
loplugin:staticfunction
Change-Id: I909cf7e77f9d7194575636248196fda311fffdb6
Diffstat (limited to 'vcl/opengl/texture.cxx')
-rw-r--r--vcl/opengl/texture.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/opengl/texture.cxx b/vcl/opengl/texture.cxx
index d727d8b1df10..732830b9a717 100644
--- a/vcl/opengl/texture.cxx
+++ b/vcl/opengl/texture.cxx
@@ -318,7 +318,7 @@ void OpenGLTexture::Read( GLenum nFormat, GLenum nType, sal_uInt8* pData )
pFramebuffer = pContext->AcquireFramebuffer( *this );
glReadPixels( maRect.Left(), mpImpl->mnHeight - maRect.Top(), GetWidth(), GetHeight(), nFormat, nType, pData );
- pContext->ReleaseFramebuffer( pFramebuffer );
+ OpenGLContext::ReleaseFramebuffer( pFramebuffer );
CHECK_GL_ERROR();
}