diff options
author | Neil Roberts <neil@linux.intel.com> | 2014-04-08 23:28:40 +0300 |
---|---|---|
committer | Emil Velikov <emil.l.velikov@gmail.com> | 2014-04-25 21:17:05 +0100 |
commit | 63d4661ab28c036ab000f94812a91d93d538a72a (patch) | |
tree | c5a77f931cf4aaae02f041f0c41c4354c18d40d0 /src/mesa/main/formats.c | |
parent | 49964fa28b611103bed46d0f9dcd942391c4dea8 (diff) |
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: Emil Velikov <emil.l.velikov@gmail.com>
Diffstat (limited to 'src/mesa/main/formats.c')
0 files changed, 0 insertions, 0 deletions