aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/intel/intel_tex_image.c
diff options
context:
space:
mode:
authorChris Wilson <[email protected]>2011-03-03 15:56:39 +0000
committerChris Wilson <[email protected]>2011-03-04 09:58:31 +0000
commit1546291e5b8d3ac02f5bee38252f9d479bcf95cc (patch)
tree2c2e10075679ae056bc4dec9e6549579aa9e9d99 /src/mesa/drivers/dri/intel/intel_tex_image.c
parent1c0d09cd4efabf4e804780ebc45f1d120f6509c5 (diff)
i965: Align index to type size and flush if the type changes
Signed-off-by: Chris Wilson <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/intel/intel_tex_image.c')
-rw-r--r--src/mesa/drivers/dri/intel/intel_tex_image.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_tex_image.c b/src/mesa/drivers/dri/intel/intel_tex_image.c
index 1ffc19756e6..906f8a62710 100644
--- a/src/mesa/drivers/dri/intel/intel_tex_image.c
+++ b/src/mesa/drivers/dri/intel/intel_tex_image.c
@@ -237,7 +237,8 @@ try_pbo_upload(struct intel_context *intel,
{
GLuint offset;
- drm_intel_bo *src_buffer = intel_bufferobj_source(intel, pbo, &offset);
+ drm_intel_bo *src_buffer =
+ intel_bufferobj_source(intel, pbo, 64, &offset);
if (!intelEmitCopyBlit(intel,
intelImage->mt->cpp,