diff options
-rw-r--r-- | src/gallium/winsys/virgl/drm/virgl_drm_winsys.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/winsys/virgl/drm/virgl_drm_winsys.c b/src/gallium/winsys/virgl/drm/virgl_drm_winsys.c index 2c02d3ccd75..26de8c702df 100644 --- a/src/gallium/winsys/virgl/drm/virgl_drm_winsys.c +++ b/src/gallium/winsys/virgl/drm/virgl_drm_winsys.c @@ -892,7 +892,7 @@ virgl_drm_winsys_create(int drmFD) if (ret < 0 || !gl) return NULL; - drm_version = virgl_drm_get_version(qdws->fd); + drm_version = virgl_drm_get_version(drmFD); if (drm_version < 0) return NULL; |