projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4996795
)
g3dvl: Remove designated initializers.
author
Vinson Lee
<vlee@vmware.com>
Thu, 14 Jul 2011 00:00:26 +0000
(17:00 -0700)
committer
Vinson 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
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/vl/vl_csc.c
b/src/gallium/auxiliary/vl/vl_csc.c
index 00eefa293a4467b89566bf1bd44708fb185ab0c3..4ca84e56a8cc86fbcf78ebe4571010059ac3ca88 100644
(file)
--- 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,