From 2ce21dd8b9075486f92c18ac007f61a27062ce63 Mon Sep 17 00:00:00 2001 From: Tomaž Vajngerl Date: Fri, 25 Nov 2016 22:04:42 +0100 Subject: tdf#103820 & tdf#103824 fix texture refactoring mistake MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I657a4b46e3e7efbe8b1ea5c1e811e1d125f5146f (cherry picked from commit 6d49a1bb6e2e81d001b8fdf246cb16f85eb79840) Reviewed-on: https://gerrit.libreoffice.org/31216 Reviewed-by: Tomaž Vajngerl Tested-by: Tomaž Vajngerl --- vcl/opengl/texture.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vcl/opengl/texture.cxx b/vcl/opengl/texture.cxx index 2c05b35cb95c..918dd80aa0e9 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 -- cgit