[Mesa-dev] [PATCH 1/6] isl: Fix s/pitch/row_pitch/ in comment

Chad Versace chadversary at chromium.org
Mon Mar 6 18:12:08 UTC 2017


struct isl_surf has no member named 'pitch'.
---
 src/intel/isl/isl.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/intel/isl/isl.h b/src/intel/isl/isl.h
index 9d92906ca71..add708b760f 100644
--- a/src/intel/isl/isl.h
+++ b/src/intel/isl/isl.h
@@ -810,7 +810,7 @@ struct isl_surf_init_info {
    /** Lower bound for isl_surf::alignment, in bytes. */
    uint32_t min_alignment;
 
-   /** Lower bound for isl_surf::pitch, in bytes. */
+   /** Lower bound for isl_surf::row_pitch, in bytes. */
    uint32_t min_pitch;
 
    isl_surf_usage_flags_t usage;
-- 
2.12.0



More information about the mesa-dev mailing list