g3dvl: Remove designated initializers.
authorVinson Lee <vlee@vmware.com>
Thu, 14 Jul 2011 00:00:26 +0000 (17:00 -0700)
committerVinson Lee <vlee@vmware.com>
Thu, 14 Jul 2011 00:00:26 +0000 (17:00 -0700)
MSVC does not support designated initializers.

src/gallium/auxiliary/vl/vl_csc.c

index 00eefa293a4467b89566bf1bd44708fb185ab0c3..4ca84e56a8cc86fbcf78ebe4571010059ac3ca88 100644 (file)
@@ -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,