fix comments and param names for intel_miptree_image_map()
authorBrian <brian@i915.localnet.net>
Tue, 31 Jul 2007 16:43:16 +0000 (10:43 -0600)
committerBrian <brian@i915.localnet.net>
Tue, 31 Jul 2007 16:43:16 +0000 (10:43 -0600)
src/mesa/drivers/dri/i915tex/intel_mipmap_tree.c
src/mesa/drivers/dri/i915tex/intel_mipmap_tree.h

index 843a78eb82b44d78753a88b3210715d835a1aeeb..ab3ec71f9e70a1ffbee86513b298eb0c2f3b9c53 100644 (file)
@@ -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__);
 
index ecdb7be244f3b779987527819b9dc4218c385596..675a438c20810611408cfa2a335dc495d0c28941 100644 (file)
@@ -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);