Browse Source

gallium/util: remove bogus return statement

util_surfaces_do_detach() is a void-valued function.
tags/mesa-7.9-rc1
Brian Paul 15 years ago
parent
commit
d022bddf24
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/gallium/auxiliary/util/u_surfaces.h

+ 1
- 1
src/gallium/auxiliary/util/u_surfaces.h View File

@@ -46,7 +46,7 @@ util_surfaces_detach(struct util_surfaces *us, struct pipe_surface *ps)
return;
}

return util_surfaces_do_detach(us, ps);
util_surfaces_do_detach(us, ps);
}

void util_surfaces_destroy(struct util_surfaces *us, struct pipe_resource *pt, void (*destroy_surface) (struct pipe_surface *));

Loading…
Cancel
Save