summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/ilo/ilo_resource.h
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2015-05-02 12:04:26 +0800
committerChia-I Wu <[email protected]>2015-05-02 22:14:06 +0800
commitc209aa7a8f08acb89f7294328589f47a88b44703 (patch)
tree624b862372c9a855af19bcb367af8010f8fd29bd /src/gallium/drivers/ilo/ilo_resource.h
parent9b72bf5bd22c14c4cc17b6945d4b74f4c0eae80a (diff)
ilo: improve readability of ilo_image
Improve docs, rename struct fields, and reorder walk types. No real changes.
Diffstat (limited to 'src/gallium/drivers/ilo/ilo_resource.h')
-rw-r--r--src/gallium/drivers/ilo/ilo_resource.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/ilo/ilo_resource.h b/src/gallium/drivers/ilo/ilo_resource.h
index f78f9495233..0a835d99210 100644
--- a/src/gallium/drivers/ilo/ilo_resource.h
+++ b/src/gallium/drivers/ilo/ilo_resource.h
@@ -200,7 +200,7 @@ ilo_texture_can_enable_hiz(const struct ilo_texture *tex, unsigned level,
const struct ilo_texture_slice *slice =
ilo_texture_get_slice(tex, level, 0);
- return (tex->image.aux_bo && (slice->flags & ILO_TEXTURE_HIZ));
+ return (tex->image.aux.bo && (slice->flags & ILO_TEXTURE_HIZ));
}
#endif /* ILO_RESOURCE_H */