From: Chad Versace Date: Fri, 25 Sep 2015 16:44:22 +0000 (-0700) Subject: i965/miptree: More comments for BRW_MAP_DIRECT_BIT (v2) X-Git-Tag: android-x86-6.0-r1~6931 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=bd191b7cc614f0c74320fff09d84c2cfaa7b8fcd;p=android-x86%2Fexternal-mesa.git i965/miptree: More comments for BRW_MAP_DIRECT_BIT (v2) Clarify that this bit extends the set of GL_MAP_*_BIT enums. Also fix typo of "temporary". Reviewed-by: Anuj Phogat Acked-by: Ben Widawsky --- diff --git a/src/mesa/drivers/dri/i965/intel_mipmap_tree.h b/src/mesa/drivers/dri/i965/intel_mipmap_tree.h index 7610d754451..2e137833238 100644 --- a/src/mesa/drivers/dri/i965/intel_mipmap_tree.h +++ b/src/mesa/drivers/dri/i965/intel_mipmap_tree.h @@ -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