From 754b961f384d567b148366fc96f29811e09839c5 Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Tue, 11 Apr 2017 00:04:29 -0700 Subject: [PATCH] i965/drm: Use bools for a few flags. These one bit values are booleans. Reviewed-by: Chris Wilson --- src/mesa/drivers/dri/i965/brw_bufmgr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mesa/drivers/dri/i965/brw_bufmgr.c b/src/mesa/drivers/dri/i965/brw_bufmgr.c index 7f2aa9d85ec..8dda38d1262 100644 --- a/src/mesa/drivers/dri/i965/brw_bufmgr.c +++ b/src/mesa/drivers/dri/i965/brw_bufmgr.c @@ -109,8 +109,8 @@ struct brw_bufmgr { struct hash_table *name_table; struct hash_table *handle_table; - unsigned int has_llc:1; - unsigned int bo_reuse:1; + bool has_llc:1; + bool bo_reuse:1; }; static int bo_set_tiling_internal(struct brw_bo *bo, uint32_t tiling_mode, -- 2.30.2