Re: [Mesa-dev] [PATCH 02/10] wayland: Fix the logic in disabling the prime capability

2014-04-04 Thread Emil Velikov
On 04/04/14 09:36, Ander Conselvan de Oliveira wrote: > From: Neil Roberts > > 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 cap

[Mesa-dev] [PATCH 02/10] wayland: Fix the logic in disabling the prime capability

2014-04-04 Thread Ander Conselvan de Oliveira
From: Neil Roberts 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 disa