i965: Request a miptree with no tiling intel_miptree_map_blit().

Regression since commit 3a31876600, when tiling modes were moved into
layout_flags.

Reviewed-by: Ben Widawsky <ben@bwidawsk.net>
This commit is contained in:
Matt Turner 2015-08-05 18:51:24 -07:00
parent 30a7e0c021
commit 3d551c5c70

View file

@ -2149,7 +2149,7 @@ intel_miptree_map_blit(struct brw_context *brw,
map->mt = intel_miptree_create(brw, GL_TEXTURE_2D, mt->format,
0, 0,
map->w, map->h, 1,
0, 0);
0, MIPTREE_LAYOUT_ALLOC_LINEAR);
if (!map->mt) {
fprintf(stderr, "Failed to allocate blit temporary\n");