add missing asserts in Font.cpp

This commit is contained in:
ZXShady authored and Chris Thrasher committed 2024-09-18 11:32:03 -04:00
1 parent 5b910f8761
commit 5275e589f5
1 file changed
+2
+2
View File
@@ -161,6 +161,7 @@ const sfTexture* sfFont_getTexture(sfFont* font, unsigned int characterSize)
////////////////////////////////////////////////////////////
void sfFont_setSmooth(sfFont* font, bool smooth)
{
assert(font);
font->This.setSmooth(smooth);
}
@@ -168,6 +169,7 @@ void sfFont_setSmooth(sfFont* font, bool smooth)
////////////////////////////////////////////////////////////
bool sfFont_isSmooth(const sfFont* font)
{
assert(font);
return font->This.isSmooth();
}