Browse Source

stb_dxt: documentation change for constant alpha

Sean Barrett 5 years ago
parent
commit
5a2c8901b2
1 changed files with 3 additions and 2 deletions
  1. 3 2
      stb_dxt.h

+ 3 - 2
stb_dxt.h

@@ -5,8 +5,9 @@
 // USAGE:
 // USAGE:
 //   call stb_compress_dxt_block() for every block (you must pad)
 //   call stb_compress_dxt_block() for every block (you must pad)
 //     source should be a 4x4 block of RGBA data in row-major order;
 //     source should be a 4x4 block of RGBA data in row-major order;
-//     A is ignored if you specify alpha=0; you can turn on dithering
-//     and "high quality" using mode.
+//     Alpha channel is not stored if you specify alpha=0 (but you
+//     must supply some constant alpha in the alpha channel).
+//     You can turn on dithering and "high quality" using mode.
 //
 //
 // version history:
 // version history:
 //   v1.08  - (sbt) fix bug in dxt-with-alpha block
 //   v1.08  - (sbt) fix bug in dxt-with-alpha block