[Libreoffice-commits] core.git: slideshow/source
Stephan Bergmann
sbergman at redhat.com
Tue Feb 9 17:54:54 UTC 2016
slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionImpl.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit e6421b3e221405ea02c12226da6349a563bfd0ec
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Tue Feb 9 18:54:30 2016 +0100
loplugin:nullptr
Change-Id: I9e57fab57e0436c76b0b683ff9c34583706f9c80
diff --git a/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionImpl.cxx b/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionImpl.cxx
index 70c4ec8..b764dd7 100644
--- a/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionImpl.cxx
+++ b/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionImpl.cxx
@@ -1706,7 +1706,7 @@ void VortexTransition::prepareTransition( sal_Int32 glLeavingSlideTex, sal_Int32
for (int i : {0, 1}) {
glBindTexture(GL_TEXTURE_2D, mnDepthTextures[i]);
- glTexImage2D(GL_TEXTURE_2D, 0, GL_DEPTH_COMPONENT16, 2048, 2048, 0, GL_DEPTH_COMPONENT, GL_FLOAT, 0);
+ glTexImage2D(GL_TEXTURE_2D, 0, GL_DEPTH_COMPONENT16, 2048, 2048, 0, GL_DEPTH_COMPONENT, GL_FLOAT, nullptr);
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST);
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST);
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_CLAMP_TO_EDGE);
More information about the Libreoffice-commits
mailing list