Commit 63fc028e authored by Michele Bosi's avatar Michele Bosi

Warning removed.

parent df881fe8
......@@ -830,7 +830,7 @@ void VividRenderer::renderQueue(const RenderQueue* render_queue, GLSLProgram* cu
cur_glsl->applyUniformSet( shader->getUniformSet() );
if ( outline_on ) {
if ( shader->getUniformSet()->getUniform("vl_Vivid.outline.width") ) {
glLineWidth( shader->getUniformSet()->getUniform("vl_Vivid.outline.width")->getUniformI() );
glLineWidth( (float)shader->getUniformSet()->getUniform("vl_Vivid.outline.width")->getUniformI() );
} else {
// this should never happen
glLineWidth( 1 );
......
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