Fixed naming bug in allegro5 backend image support

This commit is contained in:
Andrew Kravchuk 2020-05-27 07:57:02 +03:00
parent 363c2ac632
commit f7960ba73c
No known key found for this signature in database
GPG Key ID: B8A851BA50F6285F
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ static struct nk_allegro5 {
} allegro5; } allegro5;
NK_API struct nk_image* nk_create_image(const char* file_name) NK_API struct nk_image* nk_allegro5_create_image(const char* file_name)
{ {
if (!al_init_image_addon()) { if (!al_init_image_addon()) {
fprintf(stdout, "Unable to initialize required allegro5 image addon\n"); fprintf(stdout, "Unable to initialize required allegro5 image addon\n");