summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2016-11-25 22:04:42 +0100
committerTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2016-11-25 22:04:42 +0100
commit6d49a1bb6e2e81d001b8fdf246cb16f85eb79840 (patch)
tree9641675089141b4c750759c8a5bf72fa6720a0ad
parente838d143178ee82c786d11fd792d8d6735858933 (diff)
tdf#103820 & tdf#103824 fix texture refactoring mistake
Change-Id: I657a4b46e3e7efbe8b1ea5c1e811e1d125f5146f
-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