dri2: Don't bother with xf86LoaderCheckSymbol("DRI2Connect")
The DRI2 code is now built-in to the server, even for Xorg. The only thing this could protect against is trying to run a libglx built with DRI2 support against an Xorg built without it, which is firmly in "doctor it hurts when I do this" territory. Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Signed-off-by: Adam Jackson <ajax@redhat.com>
This commit is contained in:
parent
13b507409f
commit
3639ab4ce2
@ -941,8 +941,7 @@ __glXDRIscreenProbe(ScreenPtr pScreen)
|
||||
if (screen == NULL)
|
||||
return NULL;
|
||||
|
||||
if (!xf86LoaderCheckSymbol("DRI2Connect") ||
|
||||
!DRI2Connect(serverClient, pScreen, DRI2DriverDRI,
|
||||
if (!DRI2Connect(serverClient, pScreen, DRI2DriverDRI,
|
||||
&screen->fd, &driverName, &deviceName)) {
|
||||
LogMessage(X_INFO,
|
||||
"AIGLX: Screen %d is not DRI2 capable\n", pScreen->myNum);
|
||||
|
Loading…
Reference in New Issue
Block a user