diff libmlk-core/mlk/core/sprite.h @ 472:bc5483849614

core: texture -> mlk_texture
author David Demelier <markand@malikania.fr>
date Mon, 27 Feb 2023 11:24:38 +0100
parents 91ce23a36143
children 2e05c1804b25
line wrap: on
line diff
--- a/libmlk-core/mlk/core/sprite.h	Mon Feb 27 11:18:52 2023 +0100
+++ b/libmlk-core/mlk/core/sprite.h	Mon Feb 27 11:24:38 2023 +0100
@@ -21,10 +21,10 @@
 
 #include "core.h"
 
-struct texture;
+struct mlk_texture;
 
 struct mlk_sprite {
-	struct texture *texture;
+	struct mlk_texture *texture;
 	unsigned int cellw;
 	unsigned int cellh;
 	unsigned int nrows;
@@ -34,7 +34,7 @@
 MLK_CORE_BEGIN_DECLS
 
 void
-mlk_sprite_init(struct mlk_sprite *, struct texture *, unsigned int, unsigned int);
+mlk_sprite_init(struct mlk_sprite *, struct mlk_texture *, unsigned int, unsigned int);
 
 int
 mlk_sprite_ok(const struct mlk_sprite *);