changeset 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 d7855791a2b8
children ab2816f9551c
files libmlk-core/mlk/core/font.c libmlk-core/mlk/core/texture.c libmlk-core/mlk/core/texture_p.h
diffstat 3 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/libmlk-core/mlk/core/font.c	Tue Feb 28 15:35:17 2023 +0100
+++ b/libmlk-core/mlk/core/font.c	Tue Feb 28 15:54:44 2023 +0100
@@ -87,7 +87,7 @@
 	if (!(surface = func(font->handle, text, fg)))
 		return MLK_ERR_SDL;
 
-	return texture_from_surface(tex, surface);
+	return mlk__texture_from_surface(tex, surface);
 }
 
 unsigned int
--- a/libmlk-core/mlk/core/texture.c	Tue Feb 28 15:35:17 2023 +0100
+++ b/libmlk-core/mlk/core/texture.c	Tue Feb 28 15:54:44 2023 +0100
@@ -158,7 +158,7 @@
 /* private */
 
 int
-texture_from_surface(struct mlk_texture *tex, SDL_Surface *surface)
+mlk__texture_from_surface(struct mlk_texture *tex, SDL_Surface *surface)
 {
 	assert(tex);
 	assert(surface);
--- a/libmlk-core/mlk/core/texture_p.h	Tue Feb 28 15:35:17 2023 +0100
+++ b/libmlk-core/mlk/core/texture_p.h	Tue Feb 28 15:54:44 2023 +0100
@@ -24,6 +24,6 @@
 struct mlk_texture;
 
 int
-texture_from_surface(struct mlk_texture *, SDL_Surface *);
+mlk__texture_from_surface(struct mlk_texture *, SDL_Surface *);
 
 #endif /* !MLK_CORE_TEXTURE_P_H */