Re: [PATCH weston] clients: fix incorrect format handling in simple-shm

2016-03-16 Thread Pekka Paalanen
On Tue, 15 Mar 2016 21:41:14 + Murray Calavera wrote: > the `shm_format` function seems to assume the `wl_shm_format` > enum has bit-exclusive enumerations which is not true. > > Signed-off-by: Murray Calavera > --- > clients/simple-shm.c | 9 + > 1 file changed, 5 insertions(+), 4

[PATCH weston] clients: fix incorrect format handling in simple-shm

2016-03-15 Thread Murray Calavera
the `shm_format` function seems to assume the `wl_shm_format` enum has bit-exclusive enumerations which is not true. Signed-off-by: Murray Calavera --- clients/simple-shm.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/clients/simple-shm.c b/clients/simple-shm.c in