summaryrefslogtreecommitdiff
path: root/slideshow
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-12-05 09:37:50 +0000
committerCaolán McNamara <caolanm@redhat.com>2016-12-05 09:37:50 +0000
commiteab6ed9f00c3eeb9f4d54fb4e77369d521c7a3da (patch)
tree47c0f6b4583e5f2eef82c93968e9f17beabfaa7a /slideshow
parent5809f506f44715e60ce653b49050641967429661 (diff)
getVerticesSize got renamed to getVerticesByteSize
Change-Id: I7eff6eeb92aede6beb4412aa3e574ae75d651d8b
Diffstat (limited to 'slideshow')
-rw-r--r--slideshow/source/engine/opengl/TransitionImpl.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/slideshow/source/engine/opengl/TransitionImpl.cxx b/slideshow/source/engine/opengl/TransitionImpl.cxx
index 2105760c53b8..a807fffc6b43 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();