diff options
Diffstat (limited to 'src/gallium/winsys')
-rw-r--r-- | src/gallium/winsys/freedreno/drm/freedreno_drm_winsys.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/winsys/freedreno/drm/freedreno_drm_winsys.c b/src/gallium/winsys/freedreno/drm/freedreno_drm_winsys.c index 8afb9cd8380..9eb974451d1 100644 --- a/src/gallium/winsys/freedreno/drm/freedreno_drm_winsys.c +++ b/src/gallium/winsys/freedreno/drm/freedreno_drm_winsys.c @@ -11,7 +11,7 @@ struct pipe_screen * fd_drm_screen_create(int fd) { - struct fd_device *dev = fd_device_new(fd); + struct fd_device *dev = fd_device_new_dup(fd); if (!dev) return NULL; return fd_screen_create(dev); |