summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorRoland Scheidegger <[email protected]>2014-07-01 21:16:00 +0200
committerRoland Scheidegger <[email protected]>2014-07-02 01:55:59 +0200
commit188ba1d6ec2468fa3405e4382901347b2ac9396b (patch)
tree997daf10b70b48837e1e3af140edddf01ccae963 /src/gallium
parentb97b87940b1f7e093325ece4c1dd97b1d56835a1 (diff)
target-helpers: don't use designated initializers
it looks since ce1a1372280d737a1b85279995529206586ae480 they are now included in more places, in particular even for things buildable with msvc, and hence those break the build. Reviewed-by: Brian Paul <[email protected]> Reviewed-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/auxiliary/target-helpers/inline_drm_helper.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gallium/auxiliary/target-helpers/inline_drm_helper.h b/src/gallium/auxiliary/target-helpers/inline_drm_helper.h
index a03db3a5920..3b36316f1a2 100644
--- a/src/gallium/auxiliary/target-helpers/inline_drm_helper.h
+++ b/src/gallium/auxiliary/target-helpers/inline_drm_helper.h
@@ -210,13 +210,13 @@ dd_driver_name(void)
}
static const struct drm_conf_ret throttle_ret = {
- .type = DRM_CONF_INT,
- .val.val_int = 2,
+ DRM_CONF_INT,
+ {2},
};
static const struct drm_conf_ret share_fd_ret = {
- .type = DRM_CONF_BOOL,
- .val.val_int = true,
+ DRM_CONF_BOOL,
+ {true},
};
static const struct drm_conf_ret *