rename get_text_width() to text_get_width()

This commit is contained in:
2024-09-23 15:06:58 -03:00
parent 73bf92e706
commit 34a081fccd
3 changed files with 3 additions and 3 deletions

View File

@ -184,7 +184,7 @@ void push_text(char *string, Vec2 position, int height_px, Color color, const ch
}
int get_text_width(char *string, int height_px, const char *font_path) {
int text_get_width(char *string, int height_px, const char *font_path) {
ensure_font_cache(font_path, height_px);
FontData *font_data = get_font_data(font_path, height_px);