actually assign len in Refresh_Image_Info
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
899f961461
commit
2361cec274
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue