aboutsummaryrefslogtreecommitdiff
path: root/examples/dmabuf-capture.c
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2020-12-07 19:57:12 +0100
committerSimon Ser <contact@emersion.fr>2020-12-08 00:10:57 +0100
commite69bbfd0d6a654a0421793bf10cb3cab15e13273 (patch)
tree57eda2a838213fd5e4114ef86d92208321bbf231 /examples/dmabuf-capture.c
parentc9760569ae380d99df4fb9c7d1f00d0c70f9e580 (diff)
backend/drm: unset current surface before importing
drm_fb_import_wlr may need to change the current EGL context. For instance by calling drm_fb_clear, which calls wlr_buffer_unlock, which may destroy a buffer if the cursor swapchain size has changed, which calls gles2's destroy_buffer, which calls glDeleteFramebuffers. Closes: https://github.com/swaywm/wlroots/issues/2479
Diffstat (limited to 'examples/dmabuf-capture.c')
0 files changed, 0 insertions, 0 deletions