mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Remove compile warning for OverlayScalarMapperLegend
* apply explicit unsigned int -> float cast.
This commit is contained in:
parent
dd38543dd2
commit
a73526f85b
@ -185,7 +185,7 @@ void OverlayScalarMapperLegend::renderGeneric(OpenGLContext* oglContext, const V
|
|||||||
|
|
||||||
this->computeLayoutAndExtents(position, size);
|
this->computeLayoutAndExtents(position, size);
|
||||||
|
|
||||||
Vec2f backgroundSize(this->matchedWidth(), (float)size.y());
|
Vec2f backgroundSize((float)this->matchedWidth(), (float)size.y());
|
||||||
|
|
||||||
// Do the actual rendering
|
// Do the actual rendering
|
||||||
if (software)
|
if (software)
|
||||||
|
Loading…
Reference in New Issue
Block a user