summaryrefslogtreecommitdiff
path: root/src/mga.h
diff options
context:
space:
mode:
authorEmil Velikov <emil.velikov@collabora.com>2017-07-17 11:05:57 +0100
committerEmil Velikov <emil.l.velikov@gmail.com>2017-07-17 13:56:35 +0100
commit2998868964b2f3a56b6759fd8dc4462d812dbe1a (patch)
tree68149701d274a6ae07a49c6cb3fc9f33f8286e3c /src/mga.h
parent42fabf69c33d0e803eb661cc06217611bc3c9048 (diff)
xf86-video-mga: remove the GlxSetVisualConfigs stub and friends
The function was an empty since 2008 at least. Remove it alongside the unused GLX visuals code. With this all the GL/GLX dependencies in the driver are gone. Cc: Mathieu Larouche <mathieu.larouche@matrox.com> Cc: Dave Airlie <airlied@redhat.com> Signed-off-by: Emil Velikov <emil.velikov@collabora.com> --- There's a GLX reference in mga_ucode.h - a file which was seemingly never used since day 1. I'm not going to bother with that, since I've taken enough of a diversion already ;-)
Diffstat (limited to 'src/mga.h')
-rw-r--r--src/mga.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/mga.h b/src/mga.h
index 0df16e9..081472a 100644
--- a/src/mga.h
+++ b/src/mga.h
@@ -41,11 +41,7 @@
#define _XF86DRI_SERVER_
#include "mga_dripriv.h"
#include "dri.h"
-#include "GL/glxint.h"
-#include "dri.h"
-
-#include "GL/glxint.h"
#include "mga_dri.h"
#endif
@@ -611,9 +607,6 @@ typedef struct {
Bool directRenderingEnabled;
DRIInfoPtr pDRIInfo;
int drmFD;
- int numVisualConfigs;
- __GLXvisualConfig* pVisualConfigs;
- MGAConfigPrivPtr pVisualConfigsPriv;
MGADRIServerPrivatePtr DRIServerInfo;
MGARegRec DRContextRegs;