summaryrefslogtreecommitdiff
path: root/src/gallium/tests/trivial/quad-tex.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/tests/trivial/quad-tex.c')
-rw-r--r--src/gallium/tests/trivial/quad-tex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/tests/trivial/quad-tex.c b/src/gallium/tests/trivial/quad-tex.c
index fe345a94ae7..cc4e011d7a9 100644
--- a/src/gallium/tests/trivial/quad-tex.c
+++ b/src/gallium/tests/trivial/quad-tex.c
@@ -322,7 +322,7 @@ static void draw(struct program *p)
cso_set_samplers(p->cso, PIPE_SHADER_FRAGMENT, 1, samplers);
/* texture sampler view */
- cso_set_sampler_views(p->cso, PIPE_SHADER_FRAGMENT, 1, &p->view);
+ p->pipe->set_sampler_views(p->pipe, PIPE_SHADER_FRAGMENT, 0, 1, &p->view);
/* shaders */
cso_set_fragment_shader_handle(p->cso, p->fs);