Mercurial > molko
diff src/libmlk-core/core/image.h @ 340:64aff0afc8ac
js: add Texture.fromImage function
author | David Demelier <markand@malikania.fr> |
---|---|
date | Sat, 16 Oct 2021 09:13:40 +0200 |
parents | 8f9937403749 |
children | 19782ea1cf4a |
line wrap: on
line diff
--- a/src/libmlk-core/core/image.h Sat Oct 16 09:01:20 2021 +0200 +++ b/src/libmlk-core/core/image.h Sat Oct 16 09:13:40 2021 +0200 @@ -24,6 +24,7 @@ #include "core.h" struct texture; +struct vfs_file; CORE_BEGIN_DECLS @@ -33,6 +34,10 @@ int image_openmem(struct texture *, const void *, size_t); +int +image_openvfs(struct texture *, struct vfs_file *); + + CORE_END_DECLS #endif /* !MOLKO_CORE_IMAGE_H */