diff --git a/include/gal/graphics_abstraction_layer.h b/include/gal/graphics_abstraction_layer.h index d55c8f7fa4..eee7247e85 100644 --- a/include/gal/graphics_abstraction_layer.h +++ b/include/gal/graphics_abstraction_layer.h @@ -368,7 +368,7 @@ public: // Bitmap font is slightly smaller and slightly heavier than the stroke font so we // compensate a bit before stroking - int saveLineWidth = lineWidth; + float saveLineWidth = lineWidth; VECTOR2D saveGlyphSize = textProperties.m_glyphSize; { lineWidth *= 1.2f;