diff options
Diffstat (limited to 'src/mgui/image.c')
-rw-r--r-- | src/mgui/image.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mgui/image.c b/src/mgui/image.c index a3b163e..c2ff12f 100644 --- a/src/mgui/image.c +++ b/src/mgui/image.c @@ -18,6 +18,10 @@ mgui_image* mgui_image_create(const char *filepath) { return image; } +void mgui_image_destroy(mgui_image *image) { + mgui_free(image); +} + mgui_widget* mgui_image_to_widget(mgui_image *list) { return &list->widget; } |