aboutsummaryrefslogtreecommitdiff
path: root/tinywl/Makefile
diff options
context:
space:
mode:
authorIsaac Freund <mail@isaacfreund.com>2022-08-27 12:20:03 +0200
committerIsaac Freund <mail@isaacfreund.com>2022-08-28 16:04:22 +0200
commitd94d1bf0ea9d777a03429a20c544195402965d9b (patch)
tree87a3c16b12bd9d8ef5ad8ccc61e97a19fcc708d6 /tinywl/Makefile
parentfa7d2cb8d60ed48c44c707106c03682056ddfaca (diff)
output: clean up after modifierless test failure
If the first test in output_ensure_buffer() fails with modifiers we replace the swapchain with a modifierless swapchain and try again. However if that fails as well the output is currently stuck without modifiers until the next modeset. To fix this, destroy the modifierless swapchain if the test using it fails. The next output_attach_back_buffer() call will create a swapchain that allows modifiers when needed.
Diffstat (limited to 'tinywl/Makefile')
0 files changed, 0 insertions, 0 deletions