renderer: do not try to call getteximage on gles

This code-path is never going to work on GLES, so let's avoid trying.

Signed-off-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org>
macos/master
Erik Faye-Lund 6 years ago committed by Dave Airlie
parent 4269ae8e76
commit af92fd1e5e
  1. 2
      src/vrend_renderer.c

@ -6887,7 +6887,7 @@ static int vrend_renderer_transfer_send_iov(struct vrend_resource *res,
} }
/* Can hit this on a non-error path as well. */ /* Can hit this on a non-error path as well. */
if (ret != 0) { if (ret != 0 && !vrend_state.use_gles) {
ret = vrend_transfer_send_getteximage(res, iov, num_iovs, info); ret = vrend_transfer_send_getteximage(res, iov, num_iovs, info);
} }
return ret; return ret;

Loading…
Cancel
Save