• G
    fix compilation of stb_image_write.h with gcc -O3 · 347e7838
    Guillaume Chereau 提交于
    When compiling with -O3, gcc would complain that 'linear' might not be
    initialized if comp is superior to 4.
    
    In fact passing a value > 4 is an error anyway, but gcc does not know
    that.  I changed the switch case to support comp > 4.  I don't think it
    should affect the performances.
    347e7838
stb_image_write.h 25.0 KB