summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_program.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2016-03-18 12:20:10 -0600
committerBrian Paul <[email protected]>2016-03-21 11:59:25 -0600
commiteda81fa3571dac4b54c52134e9d198655f4561b0 (patch)
tree7f1842365b9529b0818e441f9f4bdb5aa9f116c6 /src/mesa/state_tracker/st_program.c
parent83b5b3d66ecb502e69c0f8a09b1673e94dcac1bc (diff)
st/mesa: use correct TGSI texture target in drawpix fragment shader
Reviewed-by: Marek Olšák <[email protected]> Reviewed-by: Charmaine Lee <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker/st_program.c')
-rw-r--r--src/mesa/state_tracker/st_program.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_program.c b/src/mesa/state_tracker/st_program.c
index d4ff845a023..80dcfd82743 100644
--- a/src/mesa/state_tracker/st_program.c
+++ b/src/mesa/state_tracker/st_program.c
@@ -924,7 +924,7 @@ st_create_fp_variant(struct st_context *st,
bias_const, key->pixelMaps,
variant->drawpix_sampler,
variant->pixelmap_sampler,
- texcoord_const);
+ texcoord_const, st->internal_target);
if (tokens) {
if (tgsi.tokens != stfp->tgsi.tokens)