| commit | ff522704109078a0cde844c74d608137b7c70f42 | [log] |
|---|---|---|
| author | Stephan Bergmann <sbergman@redhat.com> | Thu Nov 19 22:45:45 2015 +0100 |
| committer | Stephan Bergmann <sbergman@redhat.com> | Thu Nov 19 22:45:45 2015 +0100 |
| tree | 155ec2e12a2f07bf24c26cb95dcdf0064fc48114 | |
| parent | 054d3251d770a6104c524fa7483011877ed657b1 [diff] |
loplugin:redundantcast Change-Id: I89281db92f9b75e972313a95c33473d7649a9bef
diff --git a/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionImpl.cxx b/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionImpl.cxx index 2a13ca1..0298eba 100644 --- a/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionImpl.cxx +++ b/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionImpl.cxx
@@ -212,7 +212,7 @@ static void display_primitives(const Primitives_t& primitives, double nTime, dou CHECK_GL_ERROR(); glBufferData(GL_ARRAY_BUFFER, size, nullptr, GL_STREAM_DRAW); CHECK_GL_ERROR(); Vertex *buf = reinterpret_cast<Vertex*>(glMapBuffer(GL_ARRAY_BUFFER, GL_WRITE_ONLY)); Vertex *buf = static_cast<Vertex*>(glMapBuffer(GL_ARRAY_BUFFER, GL_WRITE_ONLY)); std::vector<int> first_elements; int last_pos = 0;