[Mesa-dev] [PATCH 1/2] mesa: update comment for MapTextureImage()
Brian Paul
brian.e.paul at gmail.com
Sun Dec 18 18:10:33 PST 2011
From: Brian Paul <brianp at vmware.com>
---
src/mesa/main/dd.h | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/mesa/main/dd.h b/src/mesa/main/dd.h
index 01cfff8..5816faa 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
--
1.7.1
More information about the mesa-dev
mailing list