diff options
author | Emil Velikov <[email protected]> | 2016-09-12 17:48:18 +0100 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2016-10-18 17:06:29 +0100 |
commit | af7abc512c422183a761ce3d687086abe282fa74 (patch) | |
tree | 149c76b7a7f738b2338dfc235b475dbad1939585 /src/glx/dri3_glx.c | |
parent | f9f7e44c94f7eee4778768adf7afffba6c0581e7 (diff) |
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 <[email protected]>
Reviewed-by: Axel Davy <[email protected]>
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/glx/dri3_glx.c')
-rw-r--r-- | src/glx/dri3_glx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glx/dri3_glx.c b/src/glx/dri3_glx.c index db010071719..358bd5f9feb 100644 --- a/src/glx/dri3_glx.c +++ b/src/glx/dri3_glx.c @@ -780,7 +780,7 @@ dri3_create_screen(int screen, struct glx_display * priv) psc->fd = loader_get_user_preferred_fd(psc->fd, &psc->is_different_gpu); deviceName = NULL; - driverName = loader_get_driver_for_fd(psc->fd, 0); + driverName = loader_get_driver_for_fd(psc->fd); if (!driverName) { ErrorMessageF("No driver found\n"); goto handle_error; |