From 09fc6c9d20e50b54bbde3abc6a8883b648de5aee Mon Sep 17 00:00:00 2001
From: Olivier Fourdan <fourdan@xfce.org>
Date: Sat, 11 Apr 2020 17:54:39 +0200
Subject: [PATCH] compositor: Fix unwanted change

glEnable() is not once the texture type is chosen, no need to do that in
advance.

Signed-off-by: Olivier Fourdan <fourdan@xfce.org>
---
 src/compositor.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/compositor.c b/src/compositor.c
index 3c4261759..2e58a2d7e 100644
--- a/src/compositor.c
+++ b/src/compositor.c
@@ -1136,7 +1136,6 @@ choose_glx_settings (ScreenInfo *screen_info)
     g_return_val_if_fail (screen_info != NULL, FALSE);
     TRACE ("entering");
 
-    glEnable (GL_TEXTURE_2D);
     configs = glXChooseFBConfig (myScreenGetXDisplay (screen_info),
                                  screen_info->screen,
                                  visual_attribs,
-- 
GitLab