diff options
-rw-r--r-- | src/gallium/winsys/vc4/drm/vc4_drm_winsys.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/winsys/vc4/drm/vc4_drm_winsys.c b/src/gallium/winsys/vc4/drm/vc4_drm_winsys.c index b2ffa90fe19..73717d25fe4 100644 --- a/src/gallium/winsys/vc4/drm/vc4_drm_winsys.c +++ b/src/gallium/winsys/vc4/drm/vc4_drm_winsys.c @@ -37,5 +37,5 @@ vc4_drm_screen_create(int fd) struct pipe_screen * vc4_drm_screen_create_renderonly(struct renderonly *ro) { - return vc4_screen_create(fcntl(ro->gpu_fd, F_DUPFD_CLOEXEC, 3), ro); + return vc4_screen_create(ro->gpu_fd, ro); } |