diff options
author | Marek Olšák <[email protected]> | 2016-06-21 15:52:03 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2016-06-29 20:12:00 +0200 |
commit | ebb9c7d7c48c78f3a50654ec6385d9065c1eb7b7 (patch) | |
tree | 42aef39ebe4b86e28351b1448a3e6e186bff8697 /src/gallium/drivers/radeonsi/si_state.c | |
parent | e607a6be2bd2507f704dd8f10013fe96f4b1b8da (diff) |
radeonsi: unreference framebuffer state with set_framebuffer_state
Reviewed-by: Nicolai Hähnle <[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 cec5e84ad82..6db65be382f 100644 --- a/src/gallium/drivers/radeonsi/si_state.c +++ b/src/gallium/drivers/radeonsi/si_state.c @@ -2209,7 +2209,7 @@ static void si_init_depth_surface(struct si_context *sctx, surf->depth_initialized = true; } -void si_dec_framebuffer_counters(const struct pipe_framebuffer_state *state) +static void si_dec_framebuffer_counters(const struct pipe_framebuffer_state *state) { for (int i = 0; i < state->nr_cbufs; ++i) { struct r600_surface *surf = NULL; |