summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_context.h
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_context.h
parentdf27aba422fa88c8e1a6d40d625e07f6a879db3e (diff)
st/mesa: add st_invalidate_buffers() helper
Reviewed-by: Samuel Pitoiset <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker/st_context.h')
-rw-r--r--src/mesa/state_tracker/st_context.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_context.h b/src/mesa/state_tracker/st_context.h
index 6dcf13352b9..770477a9bbb 100644
--- a/src/mesa/state_tracker/st_context.h
+++ b/src/mesa/state_tracker/st_context.h
@@ -305,7 +305,8 @@ struct st_framebuffer
extern void st_init_driver_functions(struct pipe_screen *screen,
struct dd_function_table *functions);
-void st_invalidate_state(struct gl_context * ctx, GLbitfield new_state);
+void
+st_invalidate_buffers(struct st_context *st);
/* Invalidate the readpixels cache to ensure we don't read stale data.
*/