From: Kenneth Graunke Date: Tue, 11 Apr 2017 07:04:29 +0000 (-0700) Subject: i965/drm: Use bools for a few flags. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=754b961f384d567b148366fc96f29811e09839c5;p=mesa.git i965/drm: Use bools for a few flags. These one bit values are booleans. Reviewed-by: Chris Wilson --- 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,