From bd3b59da632d85a062accab267e18b66274b857a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jos=C3=A9=20Fonseca?= Date: Thu, 10 Sep 2009 09:19:51 +0100 Subject: [PATCH] llvmpipe: Copy the texture target into the sampler static state. Hunk forgotten in previous commit. --- src/gallium/drivers/llvmpipe/lp_bld_sample_soa.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gallium/drivers/llvmpipe/lp_bld_sample_soa.c b/src/gallium/drivers/llvmpipe/lp_bld_sample_soa.c index bcc9e41c50f..6ebf107cc2b 100644 --- a/src/gallium/drivers/llvmpipe/lp_bld_sample_soa.c +++ b/src/gallium/drivers/llvmpipe/lp_bld_sample_soa.c @@ -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]); -- 2.30.2