summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVinson Lee <[email protected]>2011-07-13 17:00:26 -0700
committerVinson Lee <[email protected]>2011-07-13 17:00:26 -0700
commitf292d07b476d37904bedbb7d5a25cdb232d48b26 (patch)
tree71519f4a5225c494aae6e9ad7188c51d4efe58ac
parent49967950a56de276ffcbaea80acbc9f5bd3207bc (diff)
g3dvl: Remove designated initializers.
MSVC does not support designated initializers.
-rw-r--r--src/gallium/auxiliary/vl/vl_csc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gallium/auxiliary/vl/vl_csc.c b/src/gallium/auxiliary/vl/vl_csc.c
index 00eefa293a4..4ca84e56a8c 100644
--- a/src/gallium/auxiliary/vl/vl_csc.c
+++ b/src/gallium/auxiliary/vl/vl_csc.c
@@ -156,10 +156,10 @@ static const float identity[16] =
};
const struct vl_procamp vl_default_procamp = {
- .contrast = 1.0f,
- .saturation = 1.0f,
- .brightness = 0.0f,
- .hue = 0.0f
+ 0.0f, /* brightness */
+ 1.0f, /* contrast */
+ 1.0f, /* saturation */
+ 0.0f /* hue */
};
void vl_csc_get_matrix(enum VL_CSC_COLOR_STANDARD cs,