Mesa (master): intel: Update stale comment for intel_miptree_slice::map

Chad Versace chadversary at kemper.freedesktop.org
Tue Aug 7 16:31:16 UTC 2012


Module: Mesa
Branch: master
Commit: 7a2e40ed283b70e1da8ea762959ca7462b0f2fc3
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7a2e40ed283b70e1da8ea762959ca7462b0f2fc3

Author: Chad Versace <chad.versace at linux.intel.com>
Date:   Wed Aug  1 12:12:52 2012 -0700

intel: Update stale comment for intel_miptree_slice::map

The comment referred to intel_tex_image_map/unmap, but should more
accurately refer to intel_miptree_map/unmap.

Signed-off-by: Chad Versace <chad.versace at linux.intel.com>

---

 src/mesa/drivers/dri/intel/intel_mipmap_tree.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/mesa/drivers/dri/intel/intel_mipmap_tree.h b/src/mesa/drivers/dri/intel/intel_mipmap_tree.h
index cfd671e..bfeb69c 100644
--- a/src/mesa/drivers/dri/intel/intel_mipmap_tree.h
+++ b/src/mesa/drivers/dri/intel/intel_mipmap_tree.h
@@ -131,8 +131,8 @@ struct intel_mipmap_level
       /** \} */
 
       /**
-       * Pointer to mapping information, present across
-       * intel_tex_image_map()/unmap of the slice.
+       * Mapping information. Persistent for the duration of
+       * intel_miptree_map/unmap on this slice.
        */
       struct intel_miptree_map *map;
    } *slice;




More information about the mesa-commit mailing list