[Libreoffice-commits] core.git: Branch 'feature/opengl-vcl' - vcl/opengl

Jan Holesovsky kendy at collabora.com
Fri Nov 14 12:42:02 PST 2014


 vcl/opengl/gdiimpl.cxx |    2 --
 vcl/opengl/texture.cxx |    2 --
 2 files changed, 4 deletions(-)

New commits:
commit 4dd633a728f0f82de6a6aad9470ffe7ab9bb49e9
Author: Jan Holesovsky <kendy at collabora.com>
Date:   Fri Nov 14 21:41:15 2014 +0100

    opengl: Another places where it is too eager to check for errors.
    
    Change-Id: Ib6ca3d653f3fd1155bce418226146934e765928d

diff --git a/vcl/opengl/gdiimpl.cxx b/vcl/opengl/gdiimpl.cxx
index dab78f3..e630bf9 100644
--- a/vcl/opengl/gdiimpl.cxx
+++ b/vcl/opengl/gdiimpl.cxx
@@ -1505,8 +1505,6 @@ void OpenGLSalGraphicsImpl::endPaint()
         maContext.makeCurrent();
         glFlush();
     }
-
-    CHECK_GL_ERROR();
 }
 
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/vcl/opengl/texture.cxx b/vcl/opengl/texture.cxx
index 5c2f3c1..938de54 100644
--- a/vcl/opengl/texture.cxx
+++ b/vcl/opengl/texture.cxx
@@ -92,8 +92,6 @@ ImplOpenGLTexture::~ImplOpenGLTexture()
     SAL_INFO( "vcl.opengl", "~OpenGLTexture " << mnTexture );
     if( mnTexture != 0 )
         glDeleteTextures( 1, &mnTexture );
-
-    CHECK_GL_ERROR();
 }
 
 OpenGLTexture::OpenGLTexture() :


More information about the Libreoffice-commits mailing list