mirror of
https://github.com/SFML/CSFML.git
synced 2026-10-26 21:16:13 +01:00
Removed the default font
This commit is contained in:
1 parent
0757c89d7c
commit
d7240abb18
4 files changed
+5
-22
No files matched your search
@@ -155,14 +155,3 @@ const sfTexture* sfFont_getTexture(sfFont* font, unsigned int characterSize)
|
||||
|
||||
return &font->Textures[characterSize];
|
||||
}
|
||||
|
||||
|
||||
////////////////////////////////////////////////////////////
|
||||
/// Get the built-in default font (Arial)
|
||||
////////////////////////////////////////////////////////////
|
||||
const sfFont* sfFont_getDefaultFont(void)
|
||||
{
|
||||
static sfFont defaultFont = {sf::Font::getDefaultFont(), std::map<unsigned int, sfTexture>()};
|
||||
|
||||
return &defaultFont;
|
||||
}
|
||||
@@ -37,7 +37,7 @@
|
||||
sfText* sfText_create(void)
|
||||
{
|
||||
sfText* text = new sfText;
|
||||
text->Font = sfFont_getDefaultFont();
|
||||
text->Font = NULL;
|
||||
|
||||
return text;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user