intel: Set the region's tiling to none when attaching a PBO to a region.

Note that when detaching the PBO from the region and making a new BO
for the region, we don't make it tiled even if the region originally
was.

Fixes piglit pbo-teximage-tiling.
This commit is contained in:
Eric Anholt
2010-01-28 10:53:04 -08:00
parent c9886d535e
commit f20e83210e

View File

@@ -442,6 +442,7 @@ intel_region_attach_pbo(struct intel_context *intel,
region->pbo->region = region;
dri_bo_reference(buffer);
region->buffer = buffer;
region->tiling = I915_TILING_NONE;
}