[PATCH xserver 10/13] xquartz/glx: Remove unused fields from the glx screen subclass

Adam Jackson ajax at redhat.com
Wed Mar 23 22:46:52 UTC 2016


dmt:~/git/xserver% git grep -E '\<(index|num_vis)\>' hw/xquartz/GL
hw/xquartz/GL/indirect.c:    int index;
hw/xquartz/GL/indirect.c:    int num_vis;

Signed-off-by: Adam Jackson <ajax at redhat.com>
---
 hw/xquartz/GL/indirect.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/hw/xquartz/GL/indirect.c b/hw/xquartz/GL/indirect.c
index 8233608..f857325 100644
--- a/hw/xquartz/GL/indirect.c
+++ b/hw/xquartz/GL/indirect.c
@@ -115,9 +115,6 @@ struct __GLXAquaScreen {
 
     /* Supported GLX extensions */
     unsigned char glx_enable_bits[__GLX_EXT_BYTES];
-
-    int index;
-    int num_vis;
 };
 
 struct __GLXAquaContext {
-- 
2.5.0



More information about the xorg-devel mailing list