summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2016-11-25 22:04:42 +0100
committerTomaž Vajngerl <quikee@gmail.com>2016-11-25 21:12:34 +0000
commit2ce21dd8b9075486f92c18ac007f61a27062ce63 (patch)
tree4885ee108cbd9baa330e62c14f5896c45fd88bed
parent79eb81a061fbcacaad8bf915759748232f852c9e (diff)
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@gmail.com> Tested-by: Tomaž Vajngerl <quikee@gmail.com>
-rw-r--r--vcl/opengl/texture.cxx2
1 files changed, 1 insertions, 1 deletions
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