(submit/miext-extinit) glx: unexport noGlxExtension field

This field isn't used by any drivers, and also better belongs into
the corresponding extension instead of OS adaption layer.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult 2024-05-02 17:05:38 +02:00
parent 4c3c409099
commit bb44e6fa97
5 changed files with 7 additions and 7 deletions

View File

@ -42,6 +42,8 @@
#include "dix/dix_priv.h"
Bool noGlxExtension = FALSE;
ExtensionEntry *GlxExtensionEntry;
int GlxErrorBase = 0;
static CallbackListRec vndInitCallbackList;

View File

@ -50,11 +50,15 @@ is" without express or implied warranty.
Bool xnestDoFullGeneration = TRUE;
/* Xnest doesn't support GLX yet, so we don't link it, but still have
satisfy DIX's symbol requirements */
#ifdef GLXEXT
void
GlxExtensionInit(void)
{
}
Bool noGlxExtension = FALSE;
#endif
void

View File

@ -56,10 +56,6 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#ifdef COMPOSITE
extern _X_EXPORT Bool noCompositeExtension;
#endif
#ifdef GLXEXT
extern _X_EXPORT Bool noGlxExtension;
#endif
#ifdef PANORAMIX
extern _X_EXPORT Bool noPanoramiXExtension;
#endif

View File

@ -12,6 +12,7 @@ extern Bool noDamageExtension;
extern Bool noDbeExtension;
extern Bool noDPMSExtension;
extern Bool noGEExtension;
extern Bool noGlxExtension;
void CompositeExtensionInit(void);
void DamageExtensionInit(void);

View File

@ -126,9 +126,6 @@ Bool noTestExtensions;
#ifdef COMPOSITE
Bool noCompositeExtension = FALSE;
#endif
#ifdef GLXEXT
Bool noGlxExtension = FALSE;
#endif
#ifdef SCREENSAVER
Bool noScreenSaverExtension = FALSE;
#endif