summaryrefslogtreecommitdiffstats
path: root/src/gallium/tests/graw/tri-gs.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/tests/graw/tri-gs.c')
-rw-r--r--src/gallium/tests/graw/tri-gs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/tests/graw/tri-gs.c b/src/gallium/tests/graw/tri-gs.c
index 03b5234de89..535825ee9eb 100644
--- a/src/gallium/tests/graw/tri-gs.c
+++ b/src/gallium/tests/graw/tri-gs.c
@@ -69,7 +69,7 @@ static void set_viewport( float x, float y,
vp.translate[2] = half_depth + z;
vp.translate[3] = 0.0f;
- ctx->set_viewport_state( ctx, &vp );
+ ctx->set_viewport_states( ctx, 0, 1, &vp );
}
static void set_vertices( void )