[Mesa-dev] [PATCH 4/7] egl/surfaceless: tweak surfaceless_add_configs_for_visuals()
Emil Velikov
emil.l.velikov at gmail.com
Fri Aug 26 10:50:21 UTC 2016
On 25 August 2016 at 18:53, Gurchetan Singh <gurchetansingh at chromium.org> wrote:
>>> unsigned int format_count[ARRAY_SIZE(visuals)] = {};
>
> Isn't this invalid in C?
> http://stackoverflow.com/questions/17589533/is-an-empty-initializer-list-valid-c-code
>
Since we have a bunch of these around (here, xserver, libdrm, IGT...)
I jumped the gun and assumed they're legal.
Thanks !
Emil
More information about the mesa-dev
mailing list