Kaydet (Commit) d39630bb authored tarafından Michael Meeks's avatar Michael Meeks

OpenGL: use CHECK_GL_ERROR() only when a context is bound.

Change-Id: I2cdc14defe5c4bd95776206df65fd57589d40429
üst a37d3b1c
......@@ -1278,8 +1278,8 @@ void SAL_CALL OGLTransitionerImpl::viewChanged( const Reference< presentation::X
void OGLTransitionerImpl::disposeTextures()
{
CHECK_GL_ERROR();
mpContext->makeCurrent();
CHECK_GL_ERROR();
#if defined( GLX_EXT_texture_from_pixmap )
const GLWindow& rGLWindow(mpContext->getOpenGLWindow());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment