Mesa (master): g3dvl: Remove designated initializers.

Vinson Lee vlee at kemper.freedesktop.org
Thu Jul 14 00:01:22 UTC 2011


Module: Mesa
Branch: master
Commit: f292d07b476d37904bedbb7d5a25cdb232d48b26
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f292d07b476d37904bedbb7d5a25cdb232d48b26

Author: Vinson Lee <vlee at vmware.com>
Date:   Wed Jul 13 17:00:26 2011 -0700

g3dvl: Remove designated initializers.

MSVC does not support designated initializers.

---

 src/gallium/auxiliary/vl/vl_csc.c |    8 ++++----
 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 00eefa2..4ca84e5 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,




More information about the mesa-commit mailing list