Kaydet (Commit) 90742105 authored tarafından Jan Holesovsky's avatar Jan Holesovsky Kaydeden (comit) Markus Mohrhard

opengl: Another places where it is too eager to check for errors.

Change-Id: Ib6ca3d653f3fd1155bce418226146934e765928d
üst bad9b2d4
...@@ -1505,8 +1505,6 @@ void OpenGLSalGraphicsImpl::endPaint() ...@@ -1505,8 +1505,6 @@ void OpenGLSalGraphicsImpl::endPaint()
maContext.makeCurrent(); maContext.makeCurrent();
glFlush(); glFlush();
} }
CHECK_GL_ERROR();
} }
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
...@@ -92,8 +92,6 @@ ImplOpenGLTexture::~ImplOpenGLTexture() ...@@ -92,8 +92,6 @@ ImplOpenGLTexture::~ImplOpenGLTexture()
SAL_INFO( "vcl.opengl", "~OpenGLTexture " << mnTexture ); SAL_INFO( "vcl.opengl", "~OpenGLTexture " << mnTexture );
if( mnTexture != 0 ) if( mnTexture != 0 )
glDeleteTextures( 1, &mnTexture ); glDeleteTextures( 1, &mnTexture );
CHECK_GL_ERROR();
} }
OpenGLTexture::OpenGLTexture() : OpenGLTexture::OpenGLTexture() :
......
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