Commit 6fb39fc3 authored by Cédric Traizet's avatar Cédric Traizet
Browse files

WRG: add static cast from size_t to gl types

parent 672fbeeb
Pipeline #4057 passed with stages
in 71 minutes and 52 seconds
...@@ -112,10 +112,10 @@ Mesh ...@@ -112,10 +112,10 @@ Mesh
glVertexAttribPointer( glVertexAttribPointer(
id, id,
components, static_cast<GLsizei>(components),
m_VBO.GlType(), m_VBO.GlType(),
GL_FALSE, GL_FALSE,
m_VBO.Stride( components ), m_VBO.Stride( static_cast<GLint>(components) ),
reinterpret_cast< GLvoid const * >( first * m_VBO.Size() ) reinterpret_cast< GLvoid const * >( first * m_VBO.Size() )
); );
......
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