From a6e0e16f574a8c13593356675862c27f4387758e Mon Sep 17 00:00:00 2001 From: dec05eba Date: Mon, 11 Oct 2021 18:33:39 +0200 Subject: Change format --- src/main.cpp | 6 ++++-- 1 file 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}; -- cgit v1.2.3