diff options
Diffstat (limited to 'vcl/opengl/texture.cxx')
-rw-r--r-- | vcl/opengl/texture.cxx | 2 |
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(); } |