Création d'un compte pour un collaborateur extérieur au laboratoire depuis l'intranet ICube :

Commit 9e73639a authored by Sylvain Thery's avatar Sylvain Thery
Browse files

small bug of uniform variable name

parent d4a36627
...@@ -63,7 +63,7 @@ PointSprite::PointSprite(bool withColorPervertex, float radius) ...@@ -63,7 +63,7 @@ PointSprite::PointSprite(bool withColorPervertex, float radius)
bind(); bind();
m_uniform_size = glGetUniformLocation(program_handler(),"size"); m_uniform_size = glGetUniformLocation(program_handler(),"size");
m_uniform_color = glGetUniformLocation(program_handler(),"color"); m_uniform_color = glGetUniformLocation(program_handler(),"colorsprite");
glUniform1f(m_uniform_size, radius); glUniform1f(m_uniform_size, radius);
unbind(); unbind();
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