diff options
author | Michel Dänzer <michel@tungstengraphics.com> | 2007-04-09 14:57:08 +0200 |
---|---|---|
committer | Michel Dänzer <michel@tungstengraphics.com> | 2007-04-09 14:57:08 +0200 |
commit | e8292d28e4aeb96f70140ed627c24b6f30b50a80 (patch) | |
tree | 8156cf64cf3d568fc7312799edc6219975a098d5 /src/mesa/drivers/dri/i915tex/intel_mipmap_tree.c | |
parent | c96974f78cf3bbb94c01d6c84201595b4028d840 (diff) |
i915tex: Fix some mismatches between texels or bytes for pitch/stride.
Diffstat (limited to 'src/mesa/drivers/dri/i915tex/intel_mipmap_tree.c')
-rw-r--r-- | src/mesa/drivers/dri/i915tex/intel_mipmap_tree.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i915tex/intel_mipmap_tree.c b/src/mesa/drivers/dri/i915tex/intel_mipmap_tree.c index 93372f4dcc..8e83028b26 100644 --- a/src/mesa/drivers/dri/i915tex/intel_mipmap_tree.c +++ b/src/mesa/drivers/dri/i915tex/intel_mipmap_tree.c @@ -317,7 +317,7 @@ intel_miptree_image_data(struct intel_context *intel, 0, 0, /* source x, y */ dst->level[level].width, height); /* width, height */ - src += src_image_pitch; + src += src_image_pitch * dst->cpp; } } |