From 9b26aa4c7af189b480b620926eed9560c8e63656 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Sat, 24 Dec 2011 08:54:27 -0700 Subject: [PATCH] mesa: update comment for MapTextureImage() --- src/mesa/main/dd.h | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.30.2