Skip to content

Commit

Permalink
add missing asserts in Font.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
ZXShady authored and ChrisThrasher committed Sep 18, 2024
1 parent 5b910f8 commit 5275e58
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/CSFML/Graphics/Font.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -161,13 +161,15 @@ const sfTexture* sfFont_getTexture(sfFont* font, unsigned int characterSize)
////////////////////////////////////////////////////////////
void sfFont_setSmooth(sfFont* font, bool smooth)
{
assert(font);
font->This.setSmooth(smooth);
}


////////////////////////////////////////////////////////////
bool sfFont_isSmooth(const sfFont* font)
{
assert(font);
return font->This.isSmooth();
}

Expand Down

0 comments on commit 5275e58

Please sign in to comment.