[Libreoffice-commits] core.git: slideshow/source
Caolán McNamara
caolanm at redhat.com
Mon Dec 5 09:38:44 UTC 2016
slideshow/source/engine/opengl/TransitionImpl.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit eab6ed9f00c3eeb9f4d54fb4e77369d521c7a3da
Author: Caolán McNamara <caolanm at redhat.com>
Date: Mon Dec 5 09:37:50 2016 +0000
getVerticesSize got renamed to getVerticesByteSize
Change-Id: I7eff6eeb92aede6beb4412aa3e574ae75d651d8b
diff --git a/slideshow/source/engine/opengl/TransitionImpl.cxx b/slideshow/source/engine/opengl/TransitionImpl.cxx
index 2105760..a807fff 100644
--- a/slideshow/source/engine/opengl/TransitionImpl.cxx
+++ b/slideshow/source/engine/opengl/TransitionImpl.cxx
@@ -367,7 +367,7 @@ void Primitive::display(GLint primitiveTransformLocation, double nTime, double W
CHECK_GL_ERROR();
glBindBuffer(GL_ARRAY_BUFFER, nBuffer);
CHECK_GL_ERROR();
- glBufferData(GL_ARRAY_BUFFER, getVerticesSize(), Vertices.data(), GL_STATIC_DRAW);
+ glBufferData(GL_ARRAY_BUFFER, getVerticesByteSize(), Vertices.data(), GL_STATIC_DRAW);
glEnableVertexAttribArray(0);
CHECK_GL_ERROR();
More information about the Libreoffice-commits
mailing list