diff options
author | Samuel Pitoiset <[email protected]> | 2015-07-20 21:32:43 +0200 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2015-07-21 00:42:53 +0200 |
commit | cd0dec0d9dfab642c51774c3f5788cbdf00b8c9b (patch) | |
tree | d5dfc6bd848e0b7c926500f37e29d6641dcd621f /src/gallium/drivers/nouveau/nvc0/nvc0_transfer.c | |
parent | 4be30fcd058209966fc72fbfa51bbe881c307ed5 (diff) |
nouveau: use bool instead of boolean
Signed-off-by: Samuel Pitoiset <[email protected]>
Acked-by: Ilia Mirkin <[email protected]>
Diffstat (limited to 'src/gallium/drivers/nouveau/nvc0/nvc0_transfer.c')
-rw-r--r-- | src/gallium/drivers/nouveau/nvc0/nvc0_transfer.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gallium/drivers/nouveau/nvc0/nvc0_transfer.c b/src/gallium/drivers/nouveau/nvc0/nvc0_transfer.c index 45c6f7cc3ca..d21c7cc64fb 100644 --- a/src/gallium/drivers/nouveau/nvc0/nvc0_transfer.c +++ b/src/gallium/drivers/nouveau/nvc0/nvc0_transfer.c @@ -329,17 +329,17 @@ nve4_m2mf_copy_linear(struct nouveau_context *nv, } -static INLINE boolean +static INLINE bool nvc0_mt_transfer_can_map_directly(struct nv50_miptree *mt) { if (mt->base.domain == NOUVEAU_BO_VRAM) - return FALSE; + return false; if (mt->base.base.usage != PIPE_USAGE_STAGING) - return FALSE; + return false; return !nouveau_bo_memtype(mt->base.bo); } -static INLINE boolean +static INLINE bool nvc0_mt_sync(struct nvc0_context *nvc0, struct nv50_miptree *mt, unsigned usage) { if (!mt->base.mm) { |