(RPNG) Buildfix standalone RPNG

This commit is contained in:
twinaphex 2015-09-19 01:30:11 +02:00
parent a052934972
commit d0651bae82
2 changed files with 2 additions and 1 deletions

View File

@ -17,6 +17,7 @@ SOURCES_C := rpng_fbio.c \
../../file/nbio/nbio_stdio.c \
../../file/file_extract.c \
../../file/file_path.c \
../../file/retro_file.c \
../../string/string_list.c
OBJS := $(SOURCES_C:.c=.o)

View File

@ -62,7 +62,7 @@ static int test_nonblocking_rpng(const char *in_path)
if (!rpng_save_image_argb("/tmp/test.png", test_data, 4, 4, 16))
return 1;
if (!rpng_nbio_load_image_argb(in_path, &data, &width, &height))
if (!rpng_load_image_argb(in_path, &data, &width, &height))
return 2;
fprintf(stderr, "Path: %s.\n", in_path);