diff options
author | jkoan <jkoan@users.noreply.github.com> | 2021-06-22 09:28:27 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-22 09:28:27 +0200 |
commit | 39b6e79aa9037848da696b12393ecb2e57eaf625 (patch) | |
tree | f90d2cdc3f6df8a2e9356d68a1a3ea35e6d06323 /navit/graphics/win32/graphics_win32.c | |
parent | 82881fdf0cbb7509401ea626de892b0e18d024eb (diff) | |
parent | ea5a86beafcb52f54544e079ef7e4f8ac8b070f4 (diff) | |
download | navit-39b6e79aa9037848da696b12393ecb2e57eaf625.tar.gz |
Merge branch 'trunk' into PR_830PR_830
Diffstat (limited to 'navit/graphics/win32/graphics_win32.c')
-rw-r--r-- | navit/graphics/win32/graphics_win32.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/navit/graphics/win32/graphics_win32.c b/navit/graphics/win32/graphics_win32.c index f4eda15f4..3f20daf2b 100644 --- a/navit/graphics/win32/graphics_win32.c +++ b/navit/graphics/win32/graphics_win32.c @@ -1337,7 +1337,7 @@ static int pngdecode(struct graphics_priv *gr, char *name, struct graphics_image /* expand images to bit-depth 8 (only applicable for grayscale images) */ if (color_type == PNG_COLOR_TYPE_GRAY || color_type == PNG_COLOR_TYPE_GRAY_ALPHA && bit_depth < 8) - png_set_gray_1_2_4_to_8(png_ptr); + png_set_expand_gray_1_2_4_to_8(png_ptr); /* Expand grayscale to rgb */ if (color_type == PNG_COLOR_TYPE_GRAY || color_type == PNG_COLOR_TYPE_GRAY_ALPHA) |