aboutsummaryrefslogtreecommitdiff
path: root/examples/dmabuf-capture.c
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2021-01-12 11:41:45 +0100
committerSimon Ser <contact@emersion.fr>2021-01-12 11:41:45 +0100
commit5d054258af1bbdad43758d0161ef4ca10f41aaec (patch)
tree563beacb2a0577bbf866f3c0d6d0f9bb8393bee3 /examples/dmabuf-capture.c
parent3f7e0cf5f073ef7ef88128e8661b959cc9140490 (diff)
backend/drm: fix segfault in page_flip_handler
Since 5b1b43c68c7a ("backend/drm: make wlr_drm_plane.{pending,queued,current}_fb pointers"), current_fb can be NULL if there's no buffer. If current_fb is not NULL, current_fb->wlr_buf is guaranteed to not be NULL. Closes: https://github.com/swaywm/wlroots/issues/2634
Diffstat (limited to 'examples/dmabuf-capture.c')
0 files changed, 0 insertions, 0 deletions