clean-up, comment code
authorBrian <brian@i915.localnet.net>
Sun, 25 Feb 2007 01:11:09 +0000 (18:11 -0700)
committerBrian <brian@i915.localnet.net>
Sun, 25 Feb 2007 01:11:09 +0000 (18:11 -0700)
src/mesa/drivers/dri/i915tex/intel_mipmap_tree.c

index 2b1077aee0dc355ce5d777652d5cad20afd38bec..93372f4dcc8de43c76f312968a603d149e5c5a27 100644 (file)
@@ -309,8 +309,13 @@ intel_miptree_image_data(struct intel_context *intel,
       height = dst->level[level].height;
       if(dst->compressed)
         height /= 4;
-      intel_region_data(intel->intelScreen, dst->region, dst_offset + dst_depth_offset[i], 0, 0, src, src_row_pitch, 0, 0,   /* source x,y */
-                        dst->level[level].width, height);
+      intel_region_data(intel->intelScreen, dst->region,
+                        dst_offset + dst_depth_offset[i], /* dst_offset */
+                        0, 0,                             /* dstx, dsty */
+                        src,
+                        src_row_pitch,
+                        0, 0,                             /* source x, y */
+                        dst->level[level].width, height); /* width, height */
 
       src += src_image_pitch;
    }