summaryrefslogtreecommitdiffstats
path: root/src/gallium/tests/graw/quad-sample.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2013-09-12 15:40:13 -0600
committerBrian Paul <[email protected]>2013-10-03 14:05:27 -0600
commita5350a9f3efc0cf45ecb27cba8deedf9488f073b (patch)
tree5591d7ae03b0be9cd8b5b683cd9a92eab81c202d /src/gallium/tests/graw/quad-sample.c
parentbc367ab54d8c18b06fbbb3838a0d19240c1afe9b (diff)
gallium/tests: use pipe_context::bind_sampler_states()
Diffstat (limited to 'src/gallium/tests/graw/quad-sample.c')
-rw-r--r--src/gallium/tests/graw/quad-sample.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/tests/graw/quad-sample.c b/src/gallium/tests/graw/quad-sample.c
index 969ffa71cd8..847cb95a7cc 100644
--- a/src/gallium/tests/graw/quad-sample.c
+++ b/src/gallium/tests/graw/quad-sample.c
@@ -286,7 +286,7 @@ static void init_tex( void )
if (sampler == NULL)
exit(6);
- ctx->bind_fragment_sampler_states(ctx, 1, &sampler);
+ ctx->bind_sampler_states(ctx, PIPE_SHADE_FRAGMENT, 0, 1, &sampler);
}