}
-/***********************************************************************
- */
-static GLboolean check_state( const struct st_state_flags *a,
- const struct st_state_flags *b )
+static bool
+check_state(const struct st_state_flags *a, const struct st_state_flags *b)
{
- return ((a->mesa & b->mesa) ||
- (a->st & b->st));
+ return (a->mesa & b->mesa) || (a->st & b->st);
}
-static void accumulate_state( struct st_state_flags *a,
- const struct st_state_flags *b )
+
+static void
+accumulate_state(struct st_state_flags *a, const struct st_state_flags *b)
{
a->mesa |= b->mesa;
a->st |= b->st;
}
-static void xor_states( struct st_state_flags *result,
- const struct st_state_flags *a,
- const struct st_state_flags *b )
+static void
+xor_states(struct st_state_flags *result,
+ const struct st_state_flags *a,
+ const struct st_state_flags *b)
{
result->mesa = a->mesa ^ b->mesa;
result->st = a->st ^ b->st;
memset(state, 0, sizeof(*state));
}
-
-
-