summaryrefslogtreecommitdiffstats
path: root/src/gallium/tests/graw/quad-sample.c
diff options
context:
space:
mode:
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 bfae2e080c7..b4a29e101e4 100644
--- a/src/gallium/tests/graw/quad-sample.c
+++ b/src/gallium/tests/graw/quad-sample.c
@@ -267,7 +267,7 @@ static void init_tex( void )
if (sv == NULL)
exit(5);
- ctx->set_fragment_sampler_views(ctx, 1, &sv);
+ ctx->set_sampler_views(ctx, PIPE_SHADER_FRAGMENT, 0, 1, &sv);
memset(&sampler_desc, 0, sizeof sampler_desc);