diff --git a/src/image.cpp b/src/image.cpp index 8f988e8e..fad8f076 100644 --- a/src/image.cpp +++ b/src/image.cpp @@ -1118,6 +1118,8 @@ namespace bgfx template void encodeRgbE(float* _dst, const float* _src) { + // Reference: + // https://www.opengl.org/registry/specs/EXT/texture_shared_exponent.txt const int32_t expMax = (1<