mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-24 21:50:15 +01:00
mi: Fix infinite loop on regen when swrast_dri.so is missing
The swrast DRI provider gets pushed on the glx provider stack at every server generation, so the stack turns into a circular list on regen. X.Org bug#18388 <https://bugs.freedesktop.org/show_bug.cgi?id=18388>
This commit is contained in:
parent
f59352881f
commit
d3d6be4948
1 changed files with 2 additions and 1 deletions
|
|
@ -473,7 +473,8 @@ InitExtensions(int argc, char *argv[])
|
|||
#endif
|
||||
|
||||
#ifdef GLXEXT
|
||||
GlxPushProvider(&__glXDRISWRastProvider);
|
||||
if (serverGeneration == 1)
|
||||
GlxPushProvider(&__glXDRISWRastProvider);
|
||||
if (!noGlxExtension) GlxExtensionInit();
|
||||
#endif
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue