Re: [Mesa-dev] [PATCH 4/4] egl: use switch statements over if/else chain

2017-09-07 Thread Eric Engestrom
On Thursday, 2017-09-07 17:03:53 +0100, Emil Velikov wrote: > From: Emil Velikov > > Shorter, explicit and consistent with the rest of the co debase. s/co debase/code base/ in the commit title of patch 2/4: s/since line/single line/ I don't have time to properly review patch 1/4 today, I'll tr

[Mesa-dev] [PATCH 4/4] egl: use switch statements over if/else chain

2017-09-07 Thread Emil Velikov
From: Emil Velikov Shorter, explicit and consistent with the rest of the co debase. Signed-off-by: Emil Velikov --- src/egl/main/eglapi.c | 59 --- 1 file changed, 28 insertions(+), 31 deletions(-) diff --git a/src/egl/main/eglapi.c b/src/egl/ma