summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2011-12-24 08:54:27 -0700
committerBrian Paul <[email protected]>2011-12-24 09:25:41 -0700
commit9b26aa4c7af189b480b620926eed9560c8e63656 (patch)
tree9d208c411a02929bb928a695039cf52a6b93617f /src/mesa/main
parentc60ac7b17993d28af65b04f9bbbf3ee74c35358c (diff)
mesa: update comment for MapTextureImage()
Diffstat (limited to 'src/mesa/main')
-rw-r--r--src/mesa/main/dd.h2
1 files changed, 2 insertions, 0 deletions
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