llvmpipe: Copy the texture target into the sampler static state.

Hunk forgotten in previous commit.
This commit is contained in:
José Fonseca 2009-09-10 09:19:51 +01:00
parent 4139bc8f43
commit bd3b59da63
1 changed files with 1 additions and 0 deletions

View File

@ -61,6 +61,7 @@ lp_sampler_static_state(struct lp_sampler_static_state *state,
return;
state->format = texture->format;
state->target = texture->target;
state->pot_width = util_is_pot(texture->width[0]);
state->pot_height = util_is_pot(texture->height[0]);
state->pot_depth = util_is_pot(texture->depth[0]);