Mercurial > molko
comparison libmlk-core/mlk/core/font.c @ 501:23559c7ccf47
core: make sure everything start with mlk
author | David Demelier <markand@malikania.fr> |
---|---|
date | Tue, 28 Feb 2023 15:54:44 +0100 |
parents | d6757c30658e |
children | 338a4436e255 |
comparison
equal
deleted
inserted
replaced
500:d7855791a2b8 | 501:23559c7ccf47 |
---|---|
85 } | 85 } |
86 | 86 |
87 if (!(surface = func(font->handle, text, fg))) | 87 if (!(surface = func(font->handle, text, fg))) |
88 return MLK_ERR_SDL; | 88 return MLK_ERR_SDL; |
89 | 89 |
90 return texture_from_surface(tex, surface); | 90 return mlk__texture_from_surface(tex, surface); |
91 } | 91 } |
92 | 92 |
93 unsigned int | 93 unsigned int |
94 mlk_font_height(const struct mlk_font *font) | 94 mlk_font_height(const struct mlk_font *font) |
95 { | 95 { |