Change the GLX module to initialize after COMPOSITE.
This changes the module initalization order so that the GLX module initializes after COMPOSITE. The reason for this change is to be able to initialize a GLX visual config for the COMPOSITE ARGB visual.
This commit is contained in:
parent
8ead41388e
commit
a5546a99ac
|
@ -45,7 +45,7 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|||
|
||||
static MODULESETUPPROTO(glxSetup);
|
||||
|
||||
static const char *initdeps[] = { "DOUBLE-BUFFER", NULL };
|
||||
static const char *initdeps[] = { "DOUBLE-BUFFER", "COMPOSITE", NULL };
|
||||
|
||||
static ExtensionModule GLXExt =
|
||||
{
|
||||
|
|
|
@ -630,16 +630,6 @@ InitExtensions(argc, argv)
|
|||
if (!noXFree86DRIExtension) XFree86DRIExtensionInit();
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef GLXEXT
|
||||
#ifdef INXDARWINAPP
|
||||
DarwinGlxPushProvider(__DarwinglXMesaProvider);
|
||||
if (!noGlxExtension) DarwinGlxExtensionInit();
|
||||
#else
|
||||
GlxPushProvider(&__glXMesaProvider);
|
||||
if (!noGlxExtension) GlxExtensionInit();
|
||||
#endif // INXDARWINAPP
|
||||
#endif // GLXEXT
|
||||
#ifdef XFIXES
|
||||
/* must be before Render to layer DisplayCursor correctly */
|
||||
if (!noXFixesExtension) XFixesExtensionInit();
|
||||
|
@ -665,6 +655,16 @@ InitExtensions(argc, argv)
|
|||
#ifdef DAMAGE
|
||||
if (!noDamageExtension) DamageExtensionInit();
|
||||
#endif
|
||||
|
||||
#ifdef GLXEXT
|
||||
#ifdef INXDARWINAPP
|
||||
DarwinGlxPushProvider(__DarwinglXMesaProvider);
|
||||
if (!noGlxExtension) DarwinGlxExtensionInit();
|
||||
#else
|
||||
GlxPushProvider(&__glXMesaProvider);
|
||||
if (!noGlxExtension) GlxExtensionInit();
|
||||
#endif
|
||||
#endif
|
||||
}
|
||||
|
||||
void
|
||||
|
|
Loading…
Reference in New Issue