From: Brian Paul Date: Sat, 24 Dec 2011 15:54:27 +0000 (-0700) Subject: mesa: update comment for MapTextureImage() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9b26aa4c7af189b480b620926eed9560c8e63656;p=mesa.git mesa: update comment for MapTextureImage() --- diff --git a/src/mesa/main/dd.h b/src/mesa/main/dd.h index 01cfff8ab7c..5816faa783f 100644 --- a/src/mesa/main/dd.h +++ b/src/mesa/main/dd.h @@ -491,6 +491,8 @@ struct dd_function_table { void (*FreeTextureImageBuffer)( struct gl_context *ctx, struct gl_texture_image *tImage ); /** Map a slice of a texture image into user space. + * Note: for GL_TEXTURE_1D_ARRAY, height must be 1, y must be 0 and slice + * indicates the 1D array index. * \param texImage the texture image * \param slice the 3D image slice or array texture slice * \param x, y, w, h region of interest