i965: Change return type of check_state() to bool.

The existing code already returned a boolean; this just clarifies that.

Reviewed-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
Kenneth Graunke
2013-06-08 08:48:18 -07:00
parent 650d5de6ea
commit 233de8e8d3

View File

@@ -281,8 +281,8 @@ void brw_destroy_state( struct brw_context *brw )
/*********************************************************************** /***********************************************************************
*/ */
static GLuint check_state( const struct brw_state_flags *a, static bool
const struct brw_state_flags *b ) check_state(const struct brw_state_flags *a, const struct brw_state_flags *b)
{ {
return ((a->mesa & b->mesa) | return ((a->mesa & b->mesa) |
(a->brw & b->brw) | (a->brw & b->brw) |