fix: use standard OpenGL constants on Linux to fix invisible terrain

This commit is contained in:
JuiceyDev
2026-03-06 21:43:31 +01:00
parent f8510b88f0
commit 12c48a02ad
5 changed files with 14 additions and 14 deletions

View File

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