From bd191b7cc614f0c74320fff09d84c2cfaa7b8fcd Mon Sep 17 00:00:00 2001 From: Chad Versace Date: Fri, 25 Sep 2015 09:44:22 -0700 Subject: 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 --- src/mesa/drivers/dri/i965/intel_mipmap_tree.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/mesa/drivers') 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 -- cgit v1.2.3