C++ does not support designated initializers, thus compilation
is not guaranteed to succeed. Surprisingly gcc 4.6.3 fails to
build the code, while version 4.9.0 compiles it without a hitch.
Cc: "10.2" <mesa-stable@lists.freedesktop.org>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=78403
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Tested-by: Vinson Lee <vlee@freedesktop.org>
}
static const __DRI2rendererQueryExtension rendererQueryExt = {
- .base = { __DRI2_RENDERER_QUERY, 1 },
+ { __DRI2_RENDERER_QUERY, 1 },
- .queryInteger = fake_queryInteger,
- .queryString = fake_queryString
+ fake_queryInteger,
+ fake_queryString
};
void dri2_query_renderer_string_test::SetUp()