summaryrefslogtreecommitdiffstats
path: root/src/gallium/tests/graw/vs-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/tests/graw/vs-test.c')
-rw-r--r--src/gallium/tests/graw/vs-test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/tests/graw/vs-test.c b/src/gallium/tests/graw/vs-test.c
index f351928592b..f7d4d7342ec 100644
--- a/src/gallium/tests/graw/vs-test.c
+++ b/src/gallium/tests/graw/vs-test.c
@@ -346,7 +346,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);