nv50: fix typo causing NULL-deref in nv50_resource_resolve

Introduced in b328949a37.
This commit is contained in:
Christoph Bumiller 2012-05-04 17:40:33 +02:00
parent dffc2fb4e6
commit 9ef549d7cd
1 changed files with 1 additions and 1 deletions

View File

@ -711,7 +711,7 @@ nv50_blit_set_src(struct nv50_context *nv50,
templ.swizzle_a = PIPE_SWIZZLE_ALPHA;
nv50->textures[2][0] = nv50_create_sampler_view(pipe, res, &templ);
nv50->textures[2][0] = NULL;
nv50->textures[2][1] = NULL;
nv50_blit_fixup_tic_entry(nv50->textures[2][0]);