You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Linux x64, Linux arm64, Linux arm32, macOS x64, macOS arm64, Windows x64, Windows x86, Windows arm64
JDK
Zulu 17, but irrelevant
Module
stb
Bug description
The flags defined in STBImageResize are incorrect.
/**
* Set this flag if your texture has premultiplied alpha. Otherwise, stbir will use alpha-weighted resampling (effectively premultiplying, resampling,
* then unpremultiplying).
*/
public static final int STBIR_FLAG_ALPHA_PREMULTIPLIED = -1;
/** The specified alpha channel should be handled as gamma-corrected value even when doing sRGB operations. */
public static final int STBIR_FLAG_ALPHA_USES_COLORSPACE = -1;
Flags in stb_image_resize.h:
// Set this flag if your texture has premultiplied alpha. Otherwise, stbir will
// use alpha-weighted resampling (effectively premultiplying, resampling,
// then unpremultiplying).
#define STBIR_FLAG_ALPHA_PREMULTIPLIED (1 << 0)
// The specified alpha channel should be handled as gamma-corrected value even
// when doing sRGB operations.
#define STBIR_FLAG_ALPHA_USES_COLORSPACE (1 << 1)
Stacktrace or crash log output
No response
The text was updated successfully, but these errors were encountered:
Version
3.3.2 (nightly)
Platform
Linux x64, Linux arm64, Linux arm32, macOS x64, macOS arm64, Windows x64, Windows x86, Windows arm64
JDK
Zulu 17, but irrelevant
Module
stb
Bug description
The flags defined in STBImageResize are incorrect.
Flags in stb_image_resize.h:
Stacktrace or crash log output
No response
The text was updated successfully, but these errors were encountered: