nothings / stb

stb single-file public domain libraries for C/C++
https://twitter.com/nothings
Other
26.85k stars 7.72k forks source link

stb_image: fix function name #1276

Closed N-R-K closed 1 year ago

N-R-K commented 2 years ago

i'm assuming it was a typo. fixes the following warning:

stb_image.h:4958:14: warning: no previous prototype for 'stbi__unpremultiply_on_load_thread' [-Wmissing-prototypes]
 4958 | STBIDEF void stbi__unpremultiply_on_load_thread(int flag_true_if_should_unpremultiply)
      |              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
rygorous commented 1 year ago

A fix is merged in the dev branch (didn't bother merging the PR for a one-line fix). Will be in the next release.