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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/tests/graw/quad-tex.c b/src/gallium/tests/graw/quad-tex.c
index 7802d8efddf..9e4407e442e 100644
--- a/src/gallium/tests/graw/quad-tex.c
+++ b/src/gallium/tests/graw/quad-tex.c
@@ -167,7 +167,7 @@ static void init_tex( void )
PIPE_FORMAT_B8G8R8A8_UNORM, tex2d);
sv = graw_util_create_simple_sampler_view(&info, texture);
- info.ctx->set_fragment_sampler_views(info.ctx, 1, &sv);
+ info.ctx->set_sampler_views(info.ctx, PIPE_SHADER_FRAGMENT, 0, 1, &sv);
sampler = graw_util_create_simple_sampler(&info,
PIPE_TEX_WRAP_REPEAT,