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)
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);
Supports Markdown
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