[Mesa-dev] [PATCH 2/8] i965: Change return type of check_state() to bool.
Kenneth Graunke
kenneth at whitecape.org
Sat Jun 8 12:01:17 PDT 2013
The existing code already returned a boolean; this just clarifies that.
Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
---
src/mesa/drivers/dri/i965/brw_state_upload.c | 4 ++--
1 file 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 500d639..07c49ff 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) |
--
1.8.3
More information about the mesa-dev
mailing list