diff libmlk-core/mlk/core/image.c @ 472:bc5483849614

core: texture -> mlk_texture
author David Demelier <markand@malikania.fr>
date Mon, 27 Feb 2023 11:24:38 +0100
parents 49e7024f5455
children 3ff1fe64d0cd
line wrap: on
line diff
--- a/libmlk-core/mlk/core/image.c	Mon Feb 27 11:18:52 2023 +0100
+++ b/libmlk-core/mlk/core/image.c	Mon Feb 27 11:24:38 2023 +0100
@@ -26,7 +26,7 @@
 #include "window_p.h"
 
 static void
-dimensions(struct texture *tex)
+dimensions(struct mlk_texture *tex)
 {
 	int w, h;
 
@@ -39,7 +39,7 @@
 }
 
 int
-mlk_image_open(struct texture *tex, const char *path)
+mlk_image_open(struct mlk_texture *tex, const char *path)
 {
 	assert(tex);
 	assert(path);
@@ -53,7 +53,7 @@
 }
 
 int
-mlk_image_openmem(struct texture *tex, const void *buffer, size_t size)
+mlk_image_openmem(struct mlk_texture *tex, const void *buffer, size_t size)
 {
 	assert(buffer);