diff options
author | Vinson Lee <vlee@vmware.com> | 2010-01-27 14:04:53 -0800 |
---|---|---|
committer | Vinson Lee <vlee@vmware.com> | 2010-01-27 14:04:53 -0800 |
commit | 01ed5c6ef5395038add9eae2735fa32e40d39895 (patch) | |
tree | 047fa36f7c2f099ea665fd7f2216fb4cbf34da02 /src/gallium | |
parent | ccb4ba3e3b147426a0534763ffe20571336c3cf1 (diff) |
r300g: Silence GCC "missing braces around initializer" warning.
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/drivers/r300/r300_state_derived.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r300/r300_state_derived.c b/src/gallium/drivers/r300/r300_state_derived.c index a351c9d01b..bad9e76067 100644 --- a/src/gallium/drivers/r300/r300_state_derived.c +++ b/src/gallium/drivers/r300/r300_state_derived.c @@ -305,7 +305,7 @@ static void r300_update_rs_block(struct r300_context* r300, struct r300_shader_semantics* vs_outputs, struct r300_shader_semantics* fs_inputs) { - struct r300_rs_block rs = { 0 }; + struct r300_rs_block rs = { { 0 } }; int i, col_count = 0, tex_count = 0, fp_offset = 0; void (*rX00_rs_col)(struct r300_rs_block*, int, int, boolean); void (*rX00_rs_col_write)(struct r300_rs_block*, int, int); |