diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/vulkan/wsi/wsi_common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vulkan/wsi/wsi_common.c b/src/vulkan/wsi/wsi_common.c index 51d8655a5a9..1cd5f8d62c5 100644 --- a/src/vulkan/wsi/wsi_common.c +++ b/src/vulkan/wsi/wsi_common.c @@ -135,7 +135,7 @@ bool wsi_device_matches_drm_fd(const struct wsi_device *wsi, int drm_fd) { drmDevicePtr fd_device; - int ret = drmGetDevice(drm_fd, &fd_device); + int ret = drmGetDevice2(drm_fd, 0, &fd_device); if (ret) return false; |