vcl/inc/openglgdiimpl.hxx | 2 +- vcl/opengl/gdiimpl.cxx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-)
New commits: commit 878be3cff28b11779347e694c1c3078759c68b5a Author: Stephan Bergmann <sberg...@redhat.com> Date: Fri Dec 11 15:09:10 2015 +0100 loplugin:staticmethods Change-Id: I92bafb3459f4a2847aac05f114691b39144dc7c9 diff --git a/vcl/inc/openglgdiimpl.hxx b/vcl/inc/openglgdiimpl.hxx index a1c2a25..a3899de 100644 --- a/vcl/inc/openglgdiimpl.hxx +++ b/vcl/inc/openglgdiimpl.hxx @@ -171,7 +171,7 @@ protected: virtual rtl::Reference<OpenGLContext> CreateWinContext() = 0; /// check whether the given context can be used for off-screen rendering - bool UseContext( const rtl::Reference<OpenGLContext> &pContext ) + static bool UseContext( const rtl::Reference<OpenGLContext> &pContext ) { return pContext->isInitialized() && // not released by the OS etc. IsForeignContext( pContext ); // a genuine VCL context. commit a36c2b5bcfc7fa14438c6c682f925b833f7fe0f8 Author: Stephan Bergmann <sberg...@redhat.com> Date: Fri Dec 11 15:07:29 2015 +0100 loplugin:override Change-Id: I0b0c2e33137bfd35a5048638ef3cce18ed1b06f0 diff --git a/vcl/opengl/gdiimpl.cxx b/vcl/opengl/gdiimpl.cxx index 285b46f..16bb72a 100644 --- a/vcl/opengl/gdiimpl.cxx +++ b/vcl/opengl/gdiimpl.cxx @@ -49,7 +49,7 @@ public: { SetPriority( SchedulerPriority::HIGHEST ); } - ~OpenGLFlushIdle() + virtual ~OpenGLFlushIdle() { } virtual void Invoke() override commit 7201810cb88811b05b938cc3db3232d9cf84c82e Author: Stephan Bergmann <sberg...@redhat.com> Date: Fri Dec 11 15:06:29 2015 +0100 loplugin:defaultparams Change-Id: Ib85337ebef0ba1a3ab00ad3adb59b4cffbba2b2f diff --git a/vcl/opengl/gdiimpl.cxx b/vcl/opengl/gdiimpl.cxx index 380417d..285b46f 100644 --- a/vcl/opengl/gdiimpl.cxx +++ b/vcl/opengl/gdiimpl.cxx @@ -2056,7 +2056,7 @@ void OpenGLSalGraphicsImpl::doFlush() VCL_GL_INFO( "bound bits etc." ); GLfloat aTexCoord[8]; - maOffscreenTex.GetCoord( aTexCoord, aPosAry, false ); + maOffscreenTex.GetCoord( aTexCoord, aPosAry ); pProgram->SetTextureCoord( aTexCoord ); long nX1( aPosAry.mnDestX ); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits