[PATCH xserver v2 1/7] xwin/glx: remove unused __GLXWinScreen::glx_enable_bits

Emil Velikov emil.l.velikov at gmail.com
Tue Aug 22 10:48:25 UTC 2017


All the relevant code already uses the ::base::glx_enable_bits one.

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
Reviewed-by: Jon Turney <jon.turney at dronecode.org.uk>
---
 hw/xwin/glx/indirect.h | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/hw/xwin/glx/indirect.h b/hw/xwin/glx/indirect.h
index 8a66121ac..bcdef153a 100644
--- a/hw/xwin/glx/indirect.h
+++ b/hw/xwin/glx/indirect.h
@@ -64,9 +64,6 @@ struct __GLXWinDrawable {
 struct __GLXWinScreen {
     __GLXscreen base;
 
-    /* Supported GLX extensions */
-    unsigned char glx_enable_bits[__GLX_EXT_BYTES];
-
     Bool has_WGL_ARB_multisample;
     Bool has_WGL_ARB_pixel_format;
     Bool has_WGL_ARB_pbuffer;
-- 
2.14.0



More information about the xorg-devel mailing list