summaryrefslogtreecommitdiff
path: root/src/gallium/tests/graw/gs-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/tests/graw/gs-test.c')
-rw-r--r--src/gallium/tests/graw/gs-test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/tests/graw/gs-test.c b/src/gallium/tests/graw/gs-test.c
index 2a8f26eedd4..3ada18a30ee 100644
--- a/src/gallium/tests/graw/gs-test.c
+++ b/src/gallium/tests/graw/gs-test.c
@@ -459,7 +459,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);