Re: [Mesa-dev] [PATCH 04/17] egl/gbm: Fix compiler warning about visual matching.

2018-02-12 Thread Daniel Stone
Hi Eric, On 10 February 2018 at 16:32, Eric Anholt wrote: > The compiler doesn't know that num_visuals > 0. Reviewed and pushed, thanks! Cheers, Daniel ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org

[Mesa-dev] [PATCH 04/17] egl/gbm: Fix compiler warning about visual matching.

2018-02-10 Thread Eric Anholt
The compiler doesn't know that num_visuals > 0. Fixes: 37a8d907cc16 ("egl/gbm: Ensure EGLConfigs match GBM surface format") Cc: Daniel Stone --- src/egl/drivers/dri2/platform_drm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git