gallium/util: specify binding type for blit src texture

Fixes fd.o bug 27711.
This commit is contained in:
Brian Paul 2010-04-19 10:32:23 -06:00
parent 96b0807253
commit 653c681ce8
1 changed files with 1 additions and 0 deletions

View File

@ -374,6 +374,7 @@ util_blit_pixels_writemask(struct blit_state *ctx,
texTemp.width0 = srcW;
texTemp.height0 = srcH;
texTemp.depth0 = 1;
texTemp.bind = PIPE_BIND_SAMPLER_VIEW;
tex = screen->resource_create(screen, &texTemp);
if (!tex)