Kaydet (Commit) ff522704 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

loplugin:redundantcast

Change-Id: I89281db92f9b75e972313a95c33473d7649a9bef
üst 054d3251
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment