summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/util/u_surfaces.c
diff options
context:
space:
mode:
authorLuca Barbieri <[email protected]>2010-04-18 22:37:32 +0200
committerLuca Barbieri <[email protected]>2010-04-18 22:58:09 +0200
commiteeabe9d1797765056dcf0ca70ad5fc11b3aa758d (patch)
tree7079fb7c30e0d82a4cdb4a016542139e78c948fa /src/gallium/auxiliary/util/u_surfaces.c
parent0490116f96e61c6d8d26c2383736990cceef799b (diff)
u_inlines: split pipe_surface_init in pipe_surface_reset and *_init
Diffstat (limited to 'src/gallium/auxiliary/util/u_surfaces.c')
-rw-r--r--src/gallium/auxiliary/util/u_surfaces.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/util/u_surfaces.c b/src/gallium/auxiliary/util/u_surfaces.c
index 056b8f23418..ddfc7a9d28c 100644
--- a/src/gallium/auxiliary/util/u_surfaces.c
+++ b/src/gallium/auxiliary/util/u_surfaces.c
@@ -50,7 +50,6 @@ util_surfaces_do_get(struct util_surfaces *us, unsigned surface_struct_size, str
if(!ps)
return NULL;
- pipe_reference_init(&ps->reference, 1);
pipe_surface_init(ps, pt, face, level, zslice, flags);
ps->offset = ~0;