Module: Mesa Branch: gallium-context-transfers Commit: 188a3f5331c8e5966729fd59d02975afb7324adc URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=188a3f5331c8e5966729fd59d02975afb7324adc
Author: Keith Whitwell <[email protected]> Date: Thu Mar 11 14:11:10 2010 +0000 nouveau: remove unused variable --- src/gallium/drivers/nouveau/nv04_surface_2d.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/src/gallium/drivers/nouveau/nv04_surface_2d.c b/src/gallium/drivers/nouveau/nv04_surface_2d.c index b074547..9311446 100644 --- a/src/gallium/drivers/nouveau/nv04_surface_2d.c +++ b/src/gallium/drivers/nouveau/nv04_surface_2d.c @@ -518,7 +518,6 @@ nv04_surface_wrap_for_render(struct pipe_screen *pscreen, struct nv04_surface_2d ns->base.usage = PIPE_BUFFER_USAGE_GPU_WRITE | NOUVEAU_BUFFER_USAGE_NO_RENDER | PIPE_BUFFER_USAGE_GPU_READ; } - struct nv40_screen* screen = (struct nv40_screen*)pscreen; ns->base.usage = PIPE_BUFFER_USAGE_GPU_READ | PIPE_BUFFER_USAGE_GPU_WRITE; struct pipe_texture templ; _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
