summaryrefslogtreecommitdiffstats
path: root/src/egl/drivers/dri2/platform_x11.c
diff options
context:
space:
mode:
authorEmil Velikov <emil.velikov@collabora.com>2016-09-12 17:48:18 +0100
committerEmil Velikov <emil.l.velikov@gmail.com>2016-10-18 17:06:29 +0100
commitaf7abc512c422183a761ce3d687086abe282fa74 (patch)
tree149c76b7a7f738b2338dfc235b475dbad1939585 /src/egl/drivers/dri2/platform_x11.c
parentf9f7e44c94f7eee4778768adf7afffba6c0581e7 (diff)
downloadexternal_mesa3d-af7abc512c422183a761ce3d687086abe282fa74.zip
external_mesa3d-af7abc512c422183a761ce3d687086abe282fa74.tar.gz
external_mesa3d-af7abc512c422183a761ce3d687086abe282fa74.tar.bz2
loader: remove loader_get_driver_for_fd() driver_type
Reminiscent from the pre-loader days, were we had multiple instances of the loader logic in separate places and one could build a "GALLIUM_ONLY" version. Since that is no longer the case and the loaders (glx/egl/gbm) do not (and should not) require to know any classic/gallium specific we can drop the argument and the related code. Signed-off-by: Emil Velikov <emil.velikov@collabora.com> Reviewed-by: Axel Davy <axel.davy@ens.fr> Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
Diffstat (limited to 'src/egl/drivers/dri2/platform_x11.c')
-rw-r--r--src/egl/drivers/dri2/platform_x11.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/egl/drivers/dri2/platform_x11.c b/src/egl/drivers/dri2/platform_x11.c
index 2921147..cf2ce3f 100644
--- a/src/egl/drivers/dri2/platform_x11.c
+++ b/src/egl/drivers/dri2/platform_x11.c
@@ -681,7 +681,7 @@ dri2_x11_connect(struct dri2_egl_display *dri2_dpy)
/* If Mesa knows about the appropriate driver for this fd, then trust it.
* Otherwise, default to the server's value.
*/
- loader_driver_name = loader_get_driver_for_fd(dri2_dpy->fd, 0);
+ loader_driver_name = loader_get_driver_for_fd(dri2_dpy->fd);
if (loader_driver_name) {
dri2_dpy->driver_name = loader_driver_name;
} else {