summaryrefslogtreecommitdiffstats
path: root/src/gallium/tests/graw/quad-tex.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/tests/graw/quad-tex.c')
-rw-r--r--src/gallium/tests/graw/quad-tex.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/tests/graw/quad-tex.c b/src/gallium/tests/graw/quad-tex.c
index 6cfcea33dd1..7802d8efddf 100644
--- a/src/gallium/tests/graw/quad-tex.c
+++ b/src/gallium/tests/graw/quad-tex.c
@@ -172,7 +172,8 @@ static void init_tex( void )
sampler = graw_util_create_simple_sampler(&info,
PIPE_TEX_WRAP_REPEAT,
PIPE_TEX_FILTER_NEAREST);
- info.ctx->bind_fragment_sampler_states(info.ctx, 1, &sampler);
+ info.ctx->bind_sampler_states(info.ctx, PIPE_SHADER_FRAGMENT,
+ 0, 1, &sampler);
}