summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/xorg
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2011-06-14 03:48:06 +0200
committerMarek Olšák <[email protected]>2011-06-14 03:49:26 +0200
commite823ab1b002560c02edc2d9f165e3b150b5e020e (patch)
tree754e9cec40f04bf9c86130a8c8de9ca6eb8b63a9 /src/gallium/state_trackers/xorg
parentf318a15f45b726095ae8d95cabb2c9ce4ce24215 (diff)
st/xorg: remove unused variable
Diffstat (limited to 'src/gallium/state_trackers/xorg')
-rw-r--r--src/gallium/state_trackers/xorg/xorg_xv.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/xorg/xorg_xv.c b/src/gallium/state_trackers/xorg/xorg_xv.c
index 234574b968e..af4992fc2ed 100644
--- a/src/gallium/state_trackers/xorg/xorg_xv.c
+++ b/src/gallium/state_trackers/xorg/xorg_xv.c
@@ -466,7 +466,6 @@ bind_samplers(struct xorg_xv_port_priv *port)
{
struct pipe_sampler_state *samplers[PIPE_MAX_SAMPLERS];
struct pipe_sampler_state sampler;
- struct pipe_resource **dst = port->yuv[port->current_set];
struct pipe_sampler_view **dst_views = port->yuv_views[port->current_set];
memset(&sampler, 0, sizeof(struct pipe_sampler_state));