[Libreoffice-commits] core.git: Branch 'libreoffice-5-3' - vcl/opengl

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


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

New commits:
commit 2ce21dd8b9075486f92c18ac007f61a27062ce63
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
    (cherry picked from commit 6d49a1bb6e2e81d001b8fdf246cb16f85eb79840)
    Reviewed-on: https://gerrit.libreoffice.org/31216
    Reviewed-by: Tomaž Vajngerl <quikee at gmail.com>
    Tested-by: Tomaž Vajngerl <quikee at gmail.com>

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