diff options
author | dec05eba <dec05eba@protonmail.com> | 2020-08-30 23:09:07 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2020-08-30 23:09:07 +0200 |
commit | 539b9731a7b94319a8e8ce2006ce3f60b5445b74 (patch) | |
tree | c01dd22cf5b75f1e05c900227c8f2288e5b4b06e | |
parent | 48124315356b105cd835dc3d76458fe07a132dc2 (diff) |
switch from rgba to rgb for window texture
-rw-r--r-- | src/window_texture.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/window_texture.c b/src/window_texture.c index f1818c9..e2093b8 100644 --- a/src/window_texture.c +++ b/src/window_texture.c @@ -61,13 +61,13 @@ int window_texture_on_resize(WindowTexture *self) { int glx_pixmap_bound = 0; const int pixmap_config[] = { - GLX_BIND_TO_TEXTURE_RGBA_EXT, True, + 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_BIND_TO_MIPMAP_TEXTURE_EXT, True,*/ GLX_DOUBLEBUFFER, False, GLX_BUFFER_SIZE, 32, - GLX_ALPHA_SIZE, 8, + GLX_ALPHA_SIZE, 0, None }; |