rename get_text_width() to text_get_width()
This commit is contained in:
@ -28,7 +28,7 @@ static void title_tick(State *state) {
|
||||
|
||||
const char *font = "fonts/kenney-pixel.ttf";
|
||||
int text_h = 32;
|
||||
int text_w = get_text_width(text_str, text_h, font);
|
||||
int text_w = text_get_width(text_str, text_h, font);
|
||||
|
||||
push_rectangle(
|
||||
(Rect) {
|
||||
|
Reference in New Issue
Block a user