diff options
author | Michel Dänzer <mdaenzer@redhat.com> | 2024-10-03 12:33:56 +0200 |
---|---|---|
committer | Marge Bot <emma+marge@anholt.net> | 2024-10-22 16:26:09 +0000 |
commit | 91b5a003a5f48df2920e628c1f0a0bd02f476280 (patch) | |
tree | a5544ae67780d021b2b28d5194ac982cf157e4db /include/glxvndabi.h | |
parent | b306df5a6060beea82b5157c3603593527b220b0 (diff) |
xwayland/glamor/gbm: Don't close fence_fd after xwl_glamor_wait_fence
eglCreateSyncKHR takes ownership of the file descriptor. Noticed by
inspection.
While we're at it, move the fence_fd declaration to the scope where
it's used.
Last but not least, close the fd in xwl_glamor_wait_fence when bailing
before calling eglCreateSyncKHR, and document that it takes ownership.
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1712>
Diffstat (limited to 'include/glxvndabi.h')
0 files changed, 0 insertions, 0 deletions