Skip to content
Myr

Merge branch 'fix-clang-warning' of https://github.com/zanshi/stb into work2

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Sean Barrett · committed by Sean Barrett · parents 5a3f1eb, da12942 · Browse files · 1 file+2 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+2 added−2 removed

  • other:+2 added−2 removed

1 file+2 added−2 removed

modified:stb_image_write.h+2 added-2 removed
245 unmodified lines
246247#define STBIW_UCHAR(x) (unsigned char) ((x) & 0xff)248249#ifdef STB_IMAGE_WRITE_STATIC250static int stbi__flip_vertically_on_write=0;250static int stbi_write_png_compression_level = 8;251static int stbi_write_tga_with_rle = 1;252static int stbi_write_force_png_filter = -1;253#else254int stbi_write_png_compression_level = 8;256int stbi__flip_vertically_on_write=0;255int stbi_write_tga_with_rle = 1;256int stbi_write_force_png_filter = -1;257#endif258259static int stbi__flip_vertically_on_write = 0;260261STBIWDEF void stbi_flip_vertically_on_write(int flag)262{263 stbi__flip_vertically_on_write = flag;264}
1355 unmodified lines