Skip to content
Snippets Groups Projects
Commit e43327bd authored by Neil Roberts's avatar Neil Roberts Committed by Carl Worth
Browse files

wayland: Fix the logic in disabling the prime capability


It looks like this bit of code is trying to disable the prime capability if
the driver doesn't support createImageFromFds. However the logic looks a bit
broken and what it would actually do is disable all other capabilities apart
from prime. This patch fixes it to actually disable prime.

Cc: "10.0" "10.1" <mesa-stable@lists.freedesktop.org>
Reviewed-by: default avatarEmil Velikov <emil.l.velikov@gmail.com>
(cherry picked from commit 63d4661a)
parent c8ac5294
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment