diff options
author | Kenneth Graunke <[email protected]> | 2017-04-11 00:04:29 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2017-04-11 21:07:45 -0700 |
commit | 754b961f384d567b148366fc96f29811e09839c5 (patch) | |
tree | 6828d6c344b0411e850d5095ec56486e19932a23 /src | |
parent | 44ecbbebe29becd2ec59693db82e010c32ecfbac (diff) |
i965/drm: Use bools for a few flags.
These one bit values are booleans.
Reviewed-by: Chris Wilson <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_bufmgr.c | 4 |
1 files 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, |