Browse Source

Merge pull request #140 from lockie/master

Fixed naming bug in allegro5 backend image support
Komari Spaghetti 5 years ago
parent
commit
ebd6b3a278
1 changed files with 1 additions and 1 deletions
  1. 1 1
      demo/allegro5/nuklear_allegro5.h

+ 1 - 1
demo/allegro5/nuklear_allegro5.h

@@ -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");