i965/miptree: More comments for BRW_MAP_DIRECT_BIT (v2)
authorChad Versace <chad.versace@intel.com>
Fri, 25 Sep 2015 16:44:22 +0000 (09:44 -0700)
committerChad Versace <chad.versace@intel.com>
Wed, 30 Sep 2015 22:30:55 +0000 (15:30 -0700)
Clarify that this bit extends the set of GL_MAP_*_BIT enums.
Also fix typo of "temporary".

Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
Acked-by: Ben Widawsky <benjamin.widawsky@intel.com>
src/mesa/drivers/dri/i965/intel_mipmap_tree.h

index 7610d754451e1fabb5243f163812ec2e1b4cb733..2e1378332387202fde0a562e111bbd51eaf31b77 100644 (file)
@@ -62,9 +62,11 @@ struct intel_resolve_map;
 struct intel_texture_image;
 
 /**
+ * This bit extends the set of GL_MAP_*_BIT enums.
+ *
  * When calling intel_miptree_map() on an ETC-transcoded-to-RGB miptree or a
  * depthstencil-split-to-separate-stencil miptree, we'll normally make a
- * tmeporary and recreate the kind of data requested by Mesa core, since we're
+ * temporary and recreate the kind of data requested by Mesa core, since we're
  * satisfying some glGetTexImage() request or something.
  *
  * However, occasionally you want to actually map the miptree's current data