diff options
author | Adam Jackson <[email protected]> | 2014-04-22 12:46:08 -0400 |
---|---|---|
committer | Adam Jackson <[email protected]> | 2014-05-08 12:05:58 -0400 |
commit | 74388dd24bc7fdb9e62ec18096163f5426e03fbf (patch) | |
tree | e007cc280a3aaa9ab1785e21f68b582e545e82a5 /src/gallium/drivers/radeonsi/si_state.c | |
parent | cf93f8695770ef1c4274857f02739d2a338a4237 (diff) |
radeonsi: Don't use anonymous struct trick in atom tracking
I'm somewhat impressed that current gccs will let you do this, but
sufficiently old ones (including 4.4.7 in RHEL6) won't.
Reviewed-by: Marek Olšák <[email protected]>
Signed-off-by: Adam Jackson <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_state.c')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_state.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeonsi/si_state.c b/src/gallium/drivers/radeonsi/si_state.c index d25dc60cec8..9d048c53e72 100644 --- a/src/gallium/drivers/radeonsi/si_state.c +++ b/src/gallium/drivers/radeonsi/si_state.c @@ -2962,7 +2962,7 @@ void si_init_state_functions(struct si_context *sctx) { int i; - si_init_atom(&sctx->framebuffer.atom, &sctx->atoms.framebuffer, si_emit_framebuffer_state, 0); + si_init_atom(&sctx->framebuffer.atom, &sctx->atoms.s.framebuffer, si_emit_framebuffer_state, 0); sctx->b.b.create_blend_state = si_create_blend_state; sctx->b.b.bind_blend_state = si_bind_blend_state; |