Browse Source

GL: it's bits, not bytes.

pull/651/merge
Vladimír Vondruš 1 year ago
parent
commit
f77d03f5e5
  1. 2
      src/Magnum/Implementation/compressedPixelFormatMapping.hpp

2
src/Magnum/Implementation/compressedPixelFormatMapping.hpp

@ -24,7 +24,7 @@
DEALINGS IN THE SOFTWARE. DEALINGS IN THE SOFTWARE.
*/ */
/* each entry is width, height, depth, size in bytes */ /* each entry is width, height, depth, size in bits */
#ifdef _c #ifdef _c
/* https://www.khronos.org/registry/DataFormat/specs/1.1/dataformat.1.1.html#_bc1_with_no_alpha */ /* https://www.khronos.org/registry/DataFormat/specs/1.1/dataformat.1.1.html#_bc1_with_no_alpha */
_c(Bc1RGBUnorm, 4, 4, 1, 64) _c(Bc1RGBUnorm, 4, 4, 1, 64)

Loading…
Cancel
Save