diff options
author | Emil Velikov <emil.velikov@collabora.com> | 2017-07-17 11:05:57 +0100 |
---|---|---|
committer | Emil Velikov <emil.l.velikov@gmail.com> | 2017-07-17 13:56:35 +0100 |
commit | 2998868964b2f3a56b6759fd8dc4462d812dbe1a (patch) | |
tree | 68149701d274a6ae07a49c6cb3fc9f33f8286e3c /src/mga.h | |
parent | 42fabf69c33d0e803eb661cc06217611bc3c9048 (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.h | 7 |
1 files changed, 0 insertions, 7 deletions
@@ -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; |