Fixed calls set_uniform(emission_factor, xx) to use floats
This commit is contained in:
parent
d0d3c5ad16
commit
66d43b882e
10 changed files with 16 additions and 16 deletions
|
@ -339,7 +339,7 @@ void GLGizmoRotate::render_grabber_extension(const BoundingBoxf3& box, bool pick
|
|||
const_cast<GLModel*>(&m_cone)->set_color(-1, color);
|
||||
if (!picking) {
|
||||
shader->start_using();
|
||||
shader->set_uniform("emission_factor", 0.1);
|
||||
shader->set_uniform("emission_factor", 0.1f);
|
||||
}
|
||||
|
||||
glsafe(::glPushMatrix());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue