/**
* 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 *
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__);
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);