i965: Change return type of check_state() to bool.
authorKenneth Graunke <kenneth@whitecape.org>
Sat, 8 Jun 2013 15:48:18 +0000 (08:48 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 10 Jun 2013 17:58:38 +0000 (10:58 -0700)
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>
src/mesa/drivers/dri/i965/brw_state_upload.c

index 500d639e7cb359d485be00c16742fef30b5c679b..07c49ff1c219fb8830e2e9e684876596a907f6ae 100644 (file)
@@ -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) |