Création d'un compte pour un collaborateur extérieur au laboratoire depuis l'intranet ICube : https://intranet.icube.unistra.fr/fr/labs/member/profile

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)
bind();
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);
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