Don't crash when KMS rejects client FB
If the client provides a DMA-BUF that cannot be scanned out, don't crash. We should just fallback to composition instead.
This commit is contained in:
parent
1b38faf9fd
commit
17c74e3e6b
1 changed files with 0 additions and 1 deletions
|
@ -609,7 +609,6 @@ import_commit ( struct wlr_buffer *buf, struct wlr_dmabuf_attributes *dmabuf, co
|
|||
if ( BIsNested() == False )
|
||||
{
|
||||
commit.fb_id = drm_fbid_from_dmabuf( &g_DRM, buf, dmabuf );
|
||||
assert( commit.fb_id != 0 );
|
||||
}
|
||||
|
||||
commit.vulkanTex = vulkan_create_texture_from_dmabuf( dmabuf );
|
||||
|
|
Loading…
Reference in a new issue