diff options
Diffstat (limited to 'include/mgl/graphics/image.h')
-rw-r--r-- | include/mgl/graphics/image.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/mgl/graphics/image.h b/include/mgl/graphics/image.h index 40625bb..d27a755 100644 --- a/include/mgl/graphics/image.h +++ b/include/mgl/graphics/image.h @@ -24,6 +24,7 @@ int mgl_image_load_from_file(mgl_image *self, const char *filepath); int mgl_image_load_from_memory(mgl_image *self, const unsigned char *data, size_t size); void mgl_image_unload(mgl_image *self); -size_t mgl_image_get_size(mgl_image *self); +size_t mgl_image_get_size(const mgl_image *self); +int mgl_image_get_num_channels(const mgl_image *self); #endif /* MGL_IMAGE_H */ |