summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian <brian@i915.localnet.net>2007-07-31 10:43:16 -0600
committerBrian <brian@i915.localnet.net>2007-07-31 10:43:16 -0600
commit00afb6719938095bbf7daff3062127e4462bacc9 (patch)
tree3dfe00d14da2612992f4b66d610d410a601cc4f2
parent616c329e81f03183924b57cb19f027b22c9307f8 (diff)
fix comments and param names for intel_miptree_image_map()
-rw-r--r--src/mesa/drivers/dri/i915tex/intel_mipmap_tree.c5
-rw-r--r--src/mesa/drivers/dri/i915tex/intel_mipmap_tree.h2
2 files changed, 4 insertions, 3 deletions
diff --git a/src/mesa/drivers/dri/i915tex/intel_mipmap_tree.c b/src/mesa/drivers/dri/i915tex/intel_mipmap_tree.c
index 843a78eb82..ab3ec71f9e 100644
--- a/src/mesa/drivers/dri/i915tex/intel_mipmap_tree.c
+++ b/src/mesa/drivers/dri/i915tex/intel_mipmap_tree.c
@@ -259,7 +259,8 @@ intel_miptree_image_offset(struct intel_mipmap_tree * mt,
/**
* Map a teximage in a mipmap tree.
* \param row_stride returns row stride in bytes
- * \param image_stride returns image stride in bytes (for 3D textures).
+ * \param image_offsets returns array [texture.depth] of image offsets
+ * (in bytes) for 3D textures.
* \return address of mapping
*/
GLubyte *
@@ -267,7 +268,7 @@ intel_miptree_image_map(struct intel_context * intel,
struct intel_mipmap_tree * mt,
GLuint face,
GLuint level,
- GLuint * row_stride, GLuint * image_offsets)
+ GLuint * row_stride, GLuint image_offsets[])
{
DBG("%s \n", __FUNCTION__);
diff --git a/src/mesa/drivers/dri/i915tex/intel_mipmap_tree.h b/src/mesa/drivers/dri/i915tex/intel_mipmap_tree.h
index ecdb7be244..675a438c20 100644
--- a/src/mesa/drivers/dri/i915tex/intel_mipmap_tree.h
+++ b/src/mesa/drivers/dri/i915tex/intel_mipmap_tree.h
@@ -142,7 +142,7 @@ GLubyte *intel_miptree_image_map(struct intel_context *intel,
struct intel_mipmap_tree *mt,
GLuint face,
GLuint level,
- GLuint * row_stride, GLuint * image_stride);
+ GLuint * row_stride, GLuint image_offsets[]);
void intel_miptree_image_unmap(struct intel_context *intel,
struct intel_mipmap_tree *mt);