summaryrefslogtreecommitdiff
path: root/lib/mesa/src/gallium/winsys/vc4
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2019-02-19 04:24:02 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2019-02-19 04:24:02 +0000
commitcbd6affc1bcf169c184a3241747a6691c9a58bf7 (patch)
tree2bfc8a9bc5322b924e8558d39140656e1a2a1c05 /lib/mesa/src/gallium/winsys/vc4
parentdf3e736303c669580785ffc3f94a16997685c8df (diff)
Merge Mesa 18.3.4
Diffstat (limited to 'lib/mesa/src/gallium/winsys/vc4')
-rw-r--r--lib/mesa/src/gallium/winsys/vc4/drm/vc4_drm_winsys.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mesa/src/gallium/winsys/vc4/drm/vc4_drm_winsys.c b/lib/mesa/src/gallium/winsys/vc4/drm/vc4_drm_winsys.c
index b2ffa90fe..73717d25f 100644
--- a/lib/mesa/src/gallium/winsys/vc4/drm/vc4_drm_winsys.c
+++ b/lib/mesa/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);
}