From c61d3fe8bddcbcf750c5f057a45b262fea92ca5e Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Fri, 3 Aug 2012 11:56:36 -0600 Subject: st/xorg: updates for CSO interface changes --- src/gallium/state_trackers/xorg/xorg_xv.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gallium/state_trackers/xorg/xorg_xv.c') diff --git a/src/gallium/state_trackers/xorg/xorg_xv.c b/src/gallium/state_trackers/xorg/xorg_xv.c index d19f44c26fd..7cbad702bf4 100644 --- a/src/gallium/state_trackers/xorg/xorg_xv.c +++ b/src/gallium/state_trackers/xorg/xorg_xv.c @@ -482,9 +482,9 @@ bind_samplers(struct xorg_xv_port_priv *port) samplers[2] = &sampler; - cso_set_samplers(port->r->cso, 3, + cso_set_samplers(port->r->cso, PIPE_SHADER_FRAGMENT, 3, (const struct pipe_sampler_state **)samplers); - cso_set_fragment_sampler_views(port->r->cso, 3, dst_views); + cso_set_sampler_views(port->r->cso, PIPE_SHADER_FRAGMENT, 3, dst_views); } static int -- cgit v1.2.3