From 97fea2fd0c36d78f4e940b124a7886c4a3f3dfc7 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Sat, 2 Oct 2010 10:05:59 +0100 Subject: legacy/i810: Remove pVisualConfigs Completely unused pulling in an undesired glxproto dependency. Reported-by: Cyril Brulebois Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=30554 Signed-off-by: Chris Wilson --- src/legacy/i810/i810.h | 3 --- src/legacy/i810/i810_dri.c | 4 ---- 2 files changed, 7 deletions(-) (limited to 'src/legacy/i810') diff --git a/src/legacy/i810/i810.h b/src/legacy/i810/i810.h index b39cfff3..66206951 100644 --- a/src/legacy/i810/i810.h +++ b/src/legacy/i810/i810.h @@ -57,7 +57,6 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. #include "sarea.h" #define _XF86DRI_SERVER_ #include "dri.h" -#include "GL/glxint.h" #include "i810_dri.h" #endif @@ -230,8 +229,6 @@ typedef struct _I810Rec { DRIInfoPtr pDRIInfo; int drmSubFD; int numVisualConfigs; - __GLXvisualConfig *pVisualConfigs; - I810ConfigPrivPtr pVisualConfigsPriv; unsigned long dcacheHandle; unsigned long backHandle; unsigned long zHandle; diff --git a/src/legacy/i810/i810_dri.c b/src/legacy/i810/i810_dri.c index 3326c370..509c1415 100644 --- a/src/legacy/i810/i810_dri.c +++ b/src/legacy/i810/i810_dri.c @@ -938,10 +938,6 @@ I810DRICloseScreen(ScreenPtr pScreen) DRIDestroyInfoRec(pI810->pDRIInfo); pI810->pDRIInfo = NULL; } - if (pI810->pVisualConfigs) - free(pI810->pVisualConfigs); - if (pI810->pVisualConfigsPriv) - free(pI810->pVisualConfigsPriv); } static Bool -- cgit v1.2.3