mirror of
https://github.com/libretro/RetroArch
synced 2025-01-01 12:11:47 +00:00
(RPNG) Fix test
This commit is contained in:
parent
f8e99403a4
commit
23f410c5fe
@ -87,7 +87,8 @@ static bool rpng_load_image_argb(const char *path, uint32_t **data,
|
||||
|
||||
do
|
||||
{
|
||||
retval = rpng_process_image(rpng, (void**)data, width, height);
|
||||
retval = rpng_process_image(rpng,
|
||||
(void**)data, file_len, width, height);
|
||||
}while(retval == IMAGE_PROCESS_NEXT);
|
||||
|
||||
if (retval == IMAGE_PROCESS_ERROR || retval == IMAGE_PROCESS_ERROR_END)
|
||||
|
Loading…
Reference in New Issue
Block a user