aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2021-10-11 18:33:39 +0200
committerdec05eba <dec05eba@protonmail.com>2021-10-11 18:33:39 +0200
commita6e0e16f574a8c13593356675862c27f4387758e (patch)
tree781d6ae062eea1d2df254d0f09c918d7df0dbc59 /src
parent18b4de074068c26116a8764bcaff9749c79871b8 (diff)
Change format
Diffstat (limited to 'src')
-rw-r--r--src/main.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 7a91439..1ef3646 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -173,8 +173,10 @@ static bool recreate_window_pixmap(Display *dpy, Window window_id,
GLX_BIND_TO_TEXTURE_RGB_EXT, True,
GLX_DRAWABLE_TYPE, GLX_PIXMAP_BIT | GLX_WINDOW_BIT,
GLX_BIND_TO_TEXTURE_TARGETS_EXT, GLX_TEXTURE_2D_BIT_EXT,
- GLX_DOUBLEBUFFER, False,
- GLX_BUFFER_SIZE, 32,
+ GLX_BUFFER_SIZE, 24,
+ GLX_RED_SIZE, 8,
+ GLX_GREEN_SIZE, 8,
+ GLX_BLUE_SIZE, 8,
GLX_ALPHA_SIZE, 0,
// GLX_Y_INVERTED_EXT, (int)GLX_DONT_CARE,
None};