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

Tomaž Vajngerl tomaz.vajngerl at collabora.co.uk
Fri Nov 25 21:08:03 UTC 2016


 vcl/opengl/texture.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 6d49a1bb6e2e81d001b8fdf246cb16f85eb79840
Author: Tomaž Vajngerl <tomaz.vajngerl at collabora.co.uk>
Date:   Fri Nov 25 22:04:42 2016 +0100

    tdf#103820 & tdf#103824 fix texture refactoring mistake
    
    Change-Id: I657a4b46e3e7efbe8b1ea5c1e811e1d125f5146f

diff --git a/vcl/opengl/texture.cxx b/vcl/opengl/texture.cxx
index 2c05b35..918dd80 100644
--- a/vcl/opengl/texture.cxx
+++ b/vcl/opengl/texture.cxx
@@ -314,7 +314,7 @@ OpenGLTexture::~OpenGLTexture()
 
 bool OpenGLTexture::IsUnique() const
 {
-    return mpImpl || mpImpl.unique();
+    return !mpImpl || mpImpl.unique();
 }
 
 GLuint OpenGLTexture::Id() const


More information about the Libreoffice-commits mailing list