Skip to content

Commit

Permalink
BMFont: revert texture rect changes (use bmfont padding)
Browse files Browse the repository at this point in the history
  • Loading branch information
Cpasjuste committed Dec 24, 2022
1 parent cad8b4b commit d7a3f48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/skeleton/sfml/BMFont.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ namespace c2d {
},
// texture rect
{
bmfChar.x + 1, bmfChar.y + 1, bmfChar.width - 2, bmfChar.height - 2
bmfChar.x, bmfChar.y, bmfChar.width, bmfChar.height
}
};
m_bmfont.glyphs.insert(std::map<int, Glyph>::value_type(bmfChar.id, glyph));
Expand Down

0 comments on commit d7a3f48

Please sign in to comment.