aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2020-05-01 20:11:44 +0200
committerdec05eba <dec05eba@protonmail.com>2020-05-01 20:11:44 +0200
commit4090248c7f1afb754e0b54c0e2f6de77edb1364c (patch)
tree89f6883e42a1f1c45ac47f6898ff790e9ff0b080
parented3e29533573f33c0c85f72aa75713170b34f673 (diff)
Fix incorrect colors on systems that support 10-bit output
-rw-r--r--src/main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 23fca40..eef120d 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -1274,6 +1274,7 @@ bool CMainApplication::SetupTexturemaps()
GLX_DRAWABLE_TYPE, GLX_PIXMAP_BIT,
GLX_BIND_TO_TEXTURE_TARGETS_EXT, GLX_TEXTURE_2D_BIT_EXT,
//GLX_BIND_TO_MIPMAP_TEXTURE_EXT, True,
+ GLX_ALPHA_SIZE, 8,
GLX_DOUBLEBUFFER, False,
GLX_Y_INVERTED_EXT, (int)GLX_DONT_CARE,
None