aboutsummaryrefslogtreecommitdiffstats
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 e4e4f61eba1..2a8f26eedd4 100644
--- a/src/gallium/tests/graw/gs-test.c
+++ b/src/gallium/tests/graw/gs-test.c
@@ -478,7 +478,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_SHADER_FRAGMENT, 0, 1, &sampler);
}