Browse Source

fix build

Sasha Szpakowski 1 year ago
parent
commit
05288b3e70
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/modules/graphics/Font.cpp

+ 1 - 1
src/modules/graphics/Font.cpp

@@ -308,7 +308,7 @@ const Font::Glyph &Font::addGlyph(love::font::TextShaper::GlyphIndex glyphindex)
 		// Extrude the quad borders by 1 pixel. We have an extra pixel of
 		// Extrude the quad borders by 1 pixel. We have an extra pixel of
 		// transparent padding in the texture atlas, so the quad extrusion will
 		// transparent padding in the texture atlas, so the quad extrusion will
 		// add some antialiasing at the edges of the quad.
 		// add some antialiasing at the edges of the quad.
-		int o = 1;
+		float o = 1;
 
 
 		// 0---2
 		// 0---2
 		// | / |
 		// | / |