[Mesa-dev] [RFC 03/21] mesa/extensions: Wrap array entries in macros
Erik Faye-Lund
kusmabite at gmail.com
Tue Oct 20 07:31:39 PDT 2015
On Tue, Oct 20, 2015 at 12:36 AM, Nanley Chery <nanleychery at gmail.com> wrote:
> From: Nanley Chery <nanley.g.chery at intel.com>
>
> - { "GL_SUN_multi_draw_arrays", o(dummy_true), GLL, 1999 },
> +#define EXT(name_str, driver_cap, api_flags, yyyy) \
> + { .name = "GL_" #name_str, .offset = o(driver_cap), .api_set = api_flags, .year = yyyy},
I suspect that using designated initializers will make the MSVC build unhappy.
More information about the mesa-dev
mailing list