summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/glx/tests/query_renderer_implementation_unittest.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/glx/tests/query_renderer_implementation_unittest.cpp b/src/glx/tests/query_renderer_implementation_unittest.cpp
index 6ec4c4f8030..7f8f3018640 100644
--- a/src/glx/tests/query_renderer_implementation_unittest.cpp
+++ b/src/glx/tests/query_renderer_implementation_unittest.cpp
@@ -141,10 +141,10 @@ fake_queryString(__DRIscreen *screen, int attribute, const char **val)
}
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()