actually assign len in Refresh_Image_Info
continuous-integration/drone/push Build is passing Details

abi_break
cosmonaut 2024-02-25 01:44:19 -08:00
parent 899f961461
commit 2361cec274
1 changed files with 3 additions and 1 deletions

View File

@ -255,6 +255,8 @@ uint8_t Refresh_Image_Info(
SDL_LogWarn(SDL_LOG_CATEGORY_ERROR, "Image info failed: %s", stbi_failure_reason());
}
*len = (*w) * (*h) * 4;
return (uint8_t) result;
}