From 51706951ed713bbd8c5453175233b8a49d387543 Mon Sep 17 00:00:00 2001 From: Mark Roszko Date: Mon, 8 Feb 2021 17:08:05 +0000 Subject: [PATCH] Silence double to float warning --- include/gal/graphics_abstraction_layer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/gal/graphics_abstraction_layer.h b/include/gal/graphics_abstraction_layer.h index b91bc48079..d55c8f7fa4 100644 --- a/include/gal/graphics_abstraction_layer.h +++ b/include/gal/graphics_abstraction_layer.h @@ -371,7 +371,7 @@ public: int saveLineWidth = lineWidth; VECTOR2D saveGlyphSize = textProperties.m_glyphSize; { - lineWidth *= 1.2; + lineWidth *= 1.2f; textProperties.m_glyphSize = textProperties.m_glyphSize * 0.8; StrokeText( aText, aPosition, aRotationAngle );