summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorVinson Lee <[email protected]>2010-04-17 22:23:25 -0700
committerVinson Lee <[email protected]>2010-04-17 22:23:25 -0700
commitfe52b585f21963962f16285036a1eb1934b34ad4 (patch)
tree3f97bc8c6759088b3d4a0626f5298ebe19cf57c6 /src/gallium
parent891e9d6f3f123e9e4a89743535d18bfb543626d3 (diff)
nvfx: Remove unused variables.
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/nvfx/nv04_surface_2d.c2
-rw-r--r--src/gallium/drivers/nvfx/nvfx_vbo.c1
2 files changed, 0 insertions, 3 deletions
diff --git a/src/gallium/drivers/nvfx/nv04_surface_2d.c b/src/gallium/drivers/nvfx/nv04_surface_2d.c
index 22cfa0ecefa..a1507bbb3ca 100644
--- a/src/gallium/drivers/nvfx/nv04_surface_2d.c
+++ b/src/gallium/drivers/nvfx/nv04_surface_2d.c
@@ -285,8 +285,6 @@ nv04_surface_copy(struct nv04_surface_2d *ctx, struct pipe_surface *dst,
int dx, int dy, struct pipe_surface *src, int sx, int sy,
int w, int h)
{
- unsigned src_pitch = ((struct nv04_surface *)src)->pitch;
- unsigned dst_pitch = ((struct nv04_surface *)dst)->pitch;
int src_linear = src->texture->flags & NVFX_RESOURCE_FLAG_LINEAR;
int dst_linear = dst->texture->flags & NVFX_RESOURCE_FLAG_LINEAR;
diff --git a/src/gallium/drivers/nvfx/nvfx_vbo.c b/src/gallium/drivers/nvfx/nvfx_vbo.c
index bc87fe275c0..5ffbdfcb2a6 100644
--- a/src/gallium/drivers/nvfx/nvfx_vbo.c
+++ b/src/gallium/drivers/nvfx/nvfx_vbo.c
@@ -81,7 +81,6 @@ static boolean
nvfx_vbo_set_idxbuf(struct nvfx_context *nvfx, struct pipe_resource *ib,
unsigned ib_size)
{
- struct pipe_screen *pscreen = &nvfx->screen->base.base;
unsigned type;
if (!ib) {