diff options
author | Kenneth Graunke <[email protected]> | 2013-06-08 08:48:18 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2013-06-10 10:58:38 -0700 |
commit | 233de8e8d3a78f1ec0eb4d0b16ab35ad19e0fade (patch) | |
tree | 362af6a8899c2d5f2adba46a0f871eaf739d47d0 /src/mesa/drivers/dri | |
parent | 650d5de6eab2e8dc76d33c07c147f1a03888d4b1 (diff) |
i965: Change return type of check_state() to bool.
The existing code already returned a boolean; this just clarifies that.
Reviewed-by: Eric Anholt <[email protected]>
Signed-off-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_state_upload.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_state_upload.c b/src/mesa/drivers/dri/i965/brw_state_upload.c index 500d639e7cb..07c49ff1c21 100644 --- a/src/mesa/drivers/dri/i965/brw_state_upload.c +++ b/src/mesa/drivers/dri/i965/brw_state_upload.c @@ -281,8 +281,8 @@ void brw_destroy_state( struct brw_context *brw ) /*********************************************************************** */ -static GLuint check_state( const struct brw_state_flags *a, - const struct brw_state_flags *b ) +static bool +check_state(const struct brw_state_flags *a, const struct brw_state_flags *b) { return ((a->mesa & b->mesa) | (a->brw & b->brw) | |