Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
......@@ -112,10 +112,10 @@ Mesh
glVertexAttribPointer(
id,
components,
static_cast<GLsizei>(components),
m_VBO.GlType(),
GL_FALSE,
m_VBO.Stride( components ),
m_VBO.Stride( static_cast<GLint>(components) ),
reinterpret_cast< GLvoid const * >( first * m_VBO.Size() )
);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment