fix: use standard OpenGL constants on Linux to fix invisible terrain
This commit is contained in:
1 parent
f8510b88f0
commit
12c48a02ad
5 files changed
+14
-14
No files matched your search
@@ -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