summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/svga/svga_state.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2018-02-22 09:32:33 -0700
committerBrian Paul <[email protected]>2018-03-02 12:23:50 -0700
commit0a7deaa0d6d14fcc21cad08d9acae688ed7c9fcb (patch)
tree6a64e98338b63b90a08262b677ed6b4cc695410b /src/gallium/drivers/svga/svga_state.h
parent35c5cf895920a24062af73d108d20110c2057305 (diff)
svga: let svga_update_state_retry() return a bool
This will allow minor simplifications elsewhere. Reviewed-by: Charmaine Lee <[email protected]> Reviewed-by: Neha Bhende <[email protected]>
Diffstat (limited to 'src/gallium/drivers/svga/svga_state.h')
-rw-r--r--src/gallium/drivers/svga/svga_state.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/gallium/drivers/svga/svga_state.h b/src/gallium/drivers/svga/svga_state.h
index 04b20e161fe..d75617860e6 100644
--- a/src/gallium/drivers/svga/svga_state.h
+++ b/src/gallium/drivers/svga/svga_state.h
@@ -91,9 +91,7 @@ extern struct svga_tracked_state svga_update_swtnl_vdecl;
enum pipe_error svga_update_state( struct svga_context *svga,
unsigned level );
-void svga_update_state_retry( struct svga_context *svga,
- unsigned level );
-
+bool svga_update_state_retry(struct svga_context *svga, unsigned level);
enum pipe_error svga_emit_initial_state( struct svga_context *svga );