1. 29 1月, 2018 26 次提交
  2. 04 11月, 2017 2 次提交
    • K
      stb_truetype: Fix undefined function warning · 6e50ac78
      Kenney Phillis Jr 提交于
      This fixes the error in bug report #516. This should work as intended
      since the function definitions line up.
      6e50ac78
    • K
      tests: fix test_trutype.c on msvc 2015 · 5182622b
      Kenney Phillis Jr 提交于
      This is 3 short fixes for the file test_truetype.c.
      
      1. Fix the Visual Studio Secure CRT Errors by defining
       _CRT_SECURE_NO_WARNINGS
      
      2. Fix signed/unsigned Character conversion warning/error.
      
      3. Fix the Definitions for the Image packer.
      This now works as intended generating usable png files.
      5182622b
  3. 17 10月, 2017 1 次提交
  4. 14 10月, 2017 2 次提交
  5. 04 9月, 2017 1 次提交
  6. 01 9月, 2017 2 次提交
  7. 29 8月, 2017 1 次提交
    • J
      Remove arg from memset macro · c8245bbf
      Jonathan Adamczewski 提交于
      My clang doesn't like the macro defined this way, choking at the callsite on line 195 with "too many arguments provided to function-like macro invocation"
      
      This change matches what is done for STBTT_memset in stb_truetype.h
      c8245bbf
  8. 26 8月, 2017 2 次提交
  9. 11 8月, 2017 1 次提交
  10. 07 8月, 2017 1 次提交
    • A
      Add force_filter and compression_level parameters to (new) `stbi_write_png_to_mem_ex` · 2c7b00ac
      Aarni Koskela 提交于
      * `force_filter` being < 0 means the original behavior (i.e. figure out
        the best-performing filter per scanline); any other values 0 <= x <= 4 correspond
        to PNG filters (0 = none, 1 = sub, 2 = up, 3 = average, 4 = Paeth).
      * `compression_level` being < 0 equals `compression_level` 8 (the previous value).
        The higher this is, the better the compression should be (though it will use
        more memory).
      
      These new parameters are not (yet) exposed for the higher-level API functions.
      2c7b00ac
  11. 01 8月, 2017 1 次提交