summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/svga/svga_surface.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2013-06-24 16:25:09 -0600
committerBrian Paul <[email protected]>2013-06-25 17:54:24 -0600
commit2cc27c3faac79988dbf4693a543555cc58b2e4b0 (patch)
tree35dd554c122c8b6e3c10a5c3be16511faf8e1761 /src/gallium/drivers/svga/svga_surface.c
parent04e3969597b485691925dda717e4c986995fdb59 (diff)
svga: fix layer/level mix-up in svga_mark_surface_dirty()
Reviewed-by: Jose Fonseca <[email protected]>
Diffstat (limited to 'src/gallium/drivers/svga/svga_surface.c')
-rw-r--r--src/gallium/drivers/svga/svga_surface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/svga/svga_surface.c b/src/gallium/drivers/svga/svga_surface.c
index f5619561269..3cbe4cb80d4 100644
--- a/src/gallium/drivers/svga/svga_surface.c
+++ b/src/gallium/drivers/svga/svga_surface.c
@@ -315,7 +315,7 @@ svga_mark_surface_dirty(struct pipe_surface *surf)
/* Increment the view_age and texture age for this surface's slice
* so that any sampler views into the texture are re-validated too.
*/
- tex->view_age[surf->u.tex.first_layer] = ++(tex->age);
+ svga_age_texture_view(tex, surf->u.tex.first_layer);
}
}