Skip to content
Myr

stb_dxt: documentation change for constant alpha

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 · parent 3223673 · Browse files · 1 file+3 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+3 added−2 removed

  • other:+3 added−2 removed

1 file+3 added−2 removed

modified:stb_dxt.h+3 added-2 removed
3 unmodified lines
4//5// USAGE:6// call stb_compress_dxt_block() for every block (you must pad)7// source should be a 4x4 block of RGBA data in row-major order;8// A is ignored if you specify alpha=0; you can turn on dithering9// and "high quality" using mode.8// Alpha channel is not stored if you specify alpha=0 (but you9// must supply some constant alpha in the alpha channel).10// You can turn on dithering and "high quality" using mode.11//12// version history:13// v1.08 - (sbt) fix bug in dxt-with-alpha block14// v1.07 - (stb) bc4; allow not using libc; add STB_DXT_STATIC
715 unmodified lines