aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_manager.c
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2017-06-07 12:14:54 +1000
committerTimothy Arceri <[email protected]>2017-06-09 09:13:46 +1000
commitf627ac6e355a5eeb9618a0e4fff0ec26bd3c63ba (patch)
tree17b0d7f7e1adc942cf1cf3ebd16c09d309a4786a /src/mesa/state_tracker/st_manager.c
parentdf27aba422fa88c8e1a6d40d625e07f6a879db3e (diff)
st/mesa: add st_invalidate_buffers() helper
Reviewed-by: Samuel Pitoiset <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker/st_manager.c')
-rw-r--r--src/mesa/state_tracker/st_manager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_manager.c b/src/mesa/state_tracker/st_manager.c
index d0f32ff0f63..f4c78aeced2 100644
--- a/src/mesa/state_tracker/st_manager.c
+++ b/src/mesa/state_tracker/st_manager.c
@@ -911,7 +911,7 @@ st_manager_add_color_renderbuffer(struct st_context *st,
if (stfb->iface)
stfb->iface_stamp = p_atomic_read(&stfb->iface->stamp) - 1;
- st_invalidate_state(st->ctx, _NEW_BUFFERS);
+ st_invalidate_buffers(st);
return TRUE;
}