1. 29 1月, 2018 2 次提交
  2. 24 7月, 2017 1 次提交
  3. 23 7月, 2017 4 次提交
  4. 22 7月, 2017 2 次提交
    • F
      stb_image: Documentation fixes. · cc7f1d1e
      Fabian Giesen 提交于
      req_comp is now desired_channels and *comp is *channels_in_file.
      
      Fixes issue #466.
      cc7f1d1e
    • F
      stb_image: Relax raw_len validation for non-interlaced PNGs. · 06746604
      Fabian Giesen 提交于
      We used to require exact match between img_len and raw_len for
      non-interlaced PNGs, but the PNG in issue #276 has extra bytes
      (all zeros) at the end of the compressed DEFLATE stream.
      
      The PNG spec doesn't have anything to say about it (that I
      can tell), and if libpng accepts this, who are we to judge.
      
      Fixes issue #276.
      06746604
  5. 12 5月, 2017 2 次提交
  6. 05 5月, 2017 1 次提交
  7. 26 4月, 2017 1 次提交
  8. 18 4月, 2017 2 次提交
  9. 19 3月, 2017 10 次提交
  10. 09 3月, 2017 1 次提交
  11. 05 3月, 2017 2 次提交
    • F
      stb_image: Support optional args consistently. · 22c72a06
      Fabian Giesen 提交于
      My guideline for the rules is the PNG loader (which I consider
      "canonical"). In the _load functions, x and y are required but
      comp is optional; in the _info functions, all three are optional.
      
      Fixes issue #411 (and other related, unreported issues).
      22c72a06
    • F
      stb_image: Give up trying to runtime-detect SSE2 on GCC. · 3e175448
      Fabian Giesen 提交于
      We tried but it was nothing but trouble. New rule: with
      GCC/Clang, if you're compiling with -msse2, you get always-on
      SSE2 code, otherwise you don't get any. Trying to ship
      anything with proper runtime dispatch requires both working
      around certain bugs and some fiddling with build settings,
      which runs contrary to the intent of a one-file library,
      so bail on it entirely.
      
      Fixes issue #280.
      Fixes issue #410.
      3e175448
  12. 04 3月, 2017 6 次提交
  13. 03 3月, 2017 6 次提交