diff options
author | dec05eba <dec05eba@protonmail.com> | 2020-05-01 20:17:22 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2020-06-21 14:41:11 +0200 |
commit | 79026f574c7b31bdb08add8359f1ce48288032f4 (patch) | |
tree | 7b37c605449c00e704bb3630c40025425eb6becc | |
parent | ccdcf8b11c2bcdf28512518bcf398bff5c3b2164 (diff) |
Fix recording on systems that use 10 bit colors
-rw-r--r-- | src/main.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp index 5db9d6f..d09bfcd 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -154,6 +154,7 @@ static bool recreate_window_pixmap(Display *dpy, Window window_id, GLX_BIND_TO_TEXTURE_RGBA_EXT, True, 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_DOUBLEBUFFER, False, + GLX_ALPHA_SIZE, 8, // GLX_Y_INVERTED_EXT, (int)GLX_DONT_CARE, None}; |