[Mesa-dev] [PATCH 28/43] dri/i965: explicitly set __DRIrobustnessExtension members
Emil Velikov
emil.l.velikov at gmail.com
Tue Feb 18 17:20:07 PST 2014
Use typecast'ed type while we're here.
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
---
src/mesa/drivers/dri/i965/intel_screen.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/mesa/drivers/dri/i965/intel_screen.c b/src/mesa/drivers/dri/i965/intel_screen.c
index b013f5d..3b3fe9f 100644
--- a/src/mesa/drivers/dri/i965/intel_screen.c
+++ b/src/mesa/drivers/dri/i965/intel_screen.c
@@ -892,8 +892,8 @@ static struct __DRI2rendererQueryExtensionRec intelRendererQueryExtension = {
.queryString = brw_query_renderer_string
};
-static const struct __DRIrobustnessExtensionRec dri2Robustness = {
- { __DRI2_ROBUSTNESS, 1 }
+static const __DRIrobustnessExtension dri2Robustness = {
+ .base = { __DRI2_ROBUSTNESS, 1 }
};
static const __DRIextension *intelScreenExtensions[] = {
--
1.9.0
More information about the mesa-dev
mailing list