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

WRG: static cast from size_t to gl types (second try)

parent 6fb39fc3
......@@ -112,10 +112,10 @@ Mesh
glVertexAttribPointer(
id,
static_cast<GLsizei>(components),
static_cast<GLint>(components),
m_VBO.GlType(),
GL_FALSE,
m_VBO.Stride( static_cast<GLint>(components) ),
m_VBO.Stride( static_cast<GLsizei>(components) ),
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