mirror of
https://github.com/raysan5/raylib.git
synced 2025-09-11 22:08:15 +00:00
Added GetDefaultFont() function
Useful to be used with DrawTextEx() to draw with default font and extended parameters
This commit is contained in:
@@ -192,6 +192,12 @@ extern void UnloadDefaultFont()
|
||||
free(defaultFont.charSet);
|
||||
}
|
||||
|
||||
// Get the default font, useful to be used with extended parameters
|
||||
SpriteFont GetDefaultFont()
|
||||
{
|
||||
return defaultFont;
|
||||
}
|
||||
|
||||
// Load a SpriteFont image into GPU memory
|
||||
SpriteFont LoadSpriteFont(const char* fileName)
|
||||
{
|
||||
|
Reference in New Issue
Block a user