소스 검색

gallium/util: remove bogus return statement

util_surfaces_do_detach() is a void-valued function.
tags/mesa-7.9-rc1
Brian Paul 15 년 전
부모
커밋
d022bddf24
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1
    1
      src/gallium/auxiliary/util/u_surfaces.h

+ 1
- 1
src/gallium/auxiliary/util/u_surfaces.h 파일 보기

@@ -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…
취소
저장