fix: correct texture color channel mapping and mipmap conversion for Linux

This commit is contained in:
JuiceyDev
2026-03-06 21:33:41 +01:00
parent 2aa0058a8d
commit f8510b88f0
2 changed files with 2 additions and 2 deletions

View File

@@ -568,7 +568,7 @@ void Texture::transferFromImage(BufferedImage *image)
#ifdef _XBOX
int byteRemapRGBA[] = { 0, 1, 2, 3 };
#else
int byteRemapRGBA[] = { 3, 0, 1, 2 };
int byteRemapRGBA[] = { 0, 1, 2, 3 };
#endif
int byteRemapBGRA[] = { 3, 2, 1, 0 };
// #endif