summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/noop
diff options
context:
space:
mode:
authorMarek Olšák <maraeo@gmail.com>2012-12-08 15:37:17 +0100
committerMarek Olšák <maraeo@gmail.com>2012-12-12 13:09:54 +0100
commit25409c6da8163d9acb386511aef0c11577c7aadb (patch)
treeda38c5f59a9703c6feb89d9fac3a6c615a3bebc0 /src/gallium/drivers/noop
parentc1f704073b8992f3556c8e44a7fc496e250ba3ae (diff)
downloadexternal_mesa3d-25409c6da8163d9acb386511aef0c11577c7aadb.zip
external_mesa3d-25409c6da8163d9acb386511aef0c11577c7aadb.tar.gz
external_mesa3d-25409c6da8163d9acb386511aef0c11577c7aadb.tar.bz2
gallium: remove pipe_surface::usage
Not really used by anybody now. Reviewed-by: Brian Paul <brianp@vmware.com>
Diffstat (limited to 'src/gallium/drivers/noop')
-rw-r--r--src/gallium/drivers/noop/noop_state.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gallium/drivers/noop/noop_state.c b/src/gallium/drivers/noop/noop_state.c
index 16ce9b4..f56ff59 100644
--- a/src/gallium/drivers/noop/noop_state.c
+++ b/src/gallium/drivers/noop/noop_state.c
@@ -116,7 +116,6 @@ static struct pipe_surface *noop_create_surface(struct pipe_context *ctx,
surface->format = surf_tmpl->format;
surface->width = texture->width0;
surface->height = texture->height0;
- surface->usage = surf_tmpl->usage;
surface->texture = texture;
surface->u.tex.first_layer = surf_tmpl->u.tex.first_layer;
surface->u.tex.last_layer = surf_tmpl->u.tex.last_layer;