summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/svga/svga_surface.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2012-12-08 15:37:17 +0100
committerMarek Olšák <[email protected]>2012-12-12 13:09:54 +0100
commit25409c6da8163d9acb386511aef0c11577c7aadb (patch)
treeda38c5f59a9703c6feb89d9fac3a6c615a3bebc0 /src/gallium/drivers/svga/svga_surface.c
parentc1f704073b8992f3556c8e44a7fc496e250ba3ae (diff)
gallium: remove pipe_surface::usage
Not really used by anybody now. Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/gallium/drivers/svga/svga_surface.c')
-rw-r--r--src/gallium/drivers/svga/svga_surface.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gallium/drivers/svga/svga_surface.c b/src/gallium/drivers/svga/svga_surface.c
index d3c228bf57d..f5619561269 100644
--- a/src/gallium/drivers/svga/svga_surface.c
+++ b/src/gallium/drivers/svga/svga_surface.c
@@ -216,7 +216,6 @@ svga_create_surface(struct pipe_context *pipe,
s->base.format = surf_tmpl->format;
s->base.width = u_minify(pt->width0, surf_tmpl->u.tex.level);
s->base.height = u_minify(pt->height0, surf_tmpl->u.tex.level);
- s->base.usage = surf_tmpl->usage;
s->base.u.tex.level = surf_tmpl->u.tex.level;
s->base.u.tex.first_layer = surf_tmpl->u.tex.first_layer;
s->base.u.tex.last_layer = surf_tmpl->u.tex.last_layer;