vrend_renderer: delete extraneous transfer

Reviewed-by: David Riley <davidriley@chromium.org>
Signed-off-by: Gurchetan Singh <gurchetansingh@chromium.org>
macos/master
Gurchetan Singh 5 years ago
parent 737c6e73e1
commit e36302cc93
  1. 5
      src/vrend_renderer.c

@ -7393,11 +7393,6 @@ int vrend_renderer_transfer_iov(const struct vrend_transfer_info *info,
ctx = NULL;
}
#ifdef ENABLE_GBM_ALLOCATION
if (res->gbm_bo)
return virgl_gbm_transfer(res->gbm_bo, transfer_mode, iov, num_iovs, info);
#endif
switch (transfer_mode) {
case VIRGL_TRANSFER_TO_HOST:
return vrend_renderer_transfer_write_iov(ctx, res, iov, num_iovs, info);

Loading…
Cancel
Save