mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-06-12 11:21:55 +00:00
fix: use standard OpenGL constants on Linux to fix invisible terrain
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user