Remove compile warning for OverlayScalarMapperLegend

* apply explicit unsigned int -> float cast.
This commit is contained in:
Gaute Lindkvist 2018-04-10 08:36:20 +02:00
parent dd38543dd2
commit a73526f85b

View File

@ -185,7 +185,7 @@ void OverlayScalarMapperLegend::renderGeneric(OpenGLContext* oglContext, const V
this->computeLayoutAndExtents(position, size);
Vec2f backgroundSize(this->matchedWidth(), (float)size.y());
Vec2f backgroundSize((float)this->matchedWidth(), (float)size.y());
// Do the actual rendering
if (software)