Skip to content

Commit

Permalink
stb_image: Fix name of stbi_set_unpremultiply_on_load_thread impl
Browse files Browse the repository at this point in the history
Bug reported by N-R-K. Fixes #1276.
  • Loading branch information
rygorous committed Jan 22, 2023
1 parent e5da6ac commit 4d160de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stb_image.h
Original file line number Diff line number Diff line change
Expand Up @@ -4956,7 +4956,7 @@ STBIDEF void stbi_convert_iphone_png_to_rgb(int flag_true_if_should_convert)
static STBI_THREAD_LOCAL int stbi__unpremultiply_on_load_local, stbi__unpremultiply_on_load_set;
static STBI_THREAD_LOCAL int stbi__de_iphone_flag_local, stbi__de_iphone_flag_set;

STBIDEF void stbi__unpremultiply_on_load_thread(int flag_true_if_should_unpremultiply)
STBIDEF void stbi_set_unpremultiply_on_load_thread(int flag_true_if_should_unpremultiply)
{
stbi__unpremultiply_on_load_local = flag_true_if_should_unpremultiply;
stbi__unpremultiply_on_load_set = 1;
Expand Down

0 comments on commit 4d160de

Please sign in to comment.