vrend: remove redundant call to make_current

This is already handled by calling vrend_hw_switch_context with the
now-argument as true, as we do one line above.

Tested-by: Jakob Bornecrantz <jakob@collabora.com>
Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org>
Signed-off-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Signed-off-by: Jakob Bornecrantz <jakob@collabora.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
macos/master
Erik Faye-Lund 6 years ago committed by Dave Airlie
parent aeac8f4ae8
commit dc8b29ffce
  1. 1
      src/vrend_renderer.c

@ -8610,7 +8610,6 @@ void vrend_renderer_force_ctx_0(void)
vrend_state.current_ctx = NULL;
vrend_state.current_hw_ctx = NULL;
vrend_hw_switch_context(ctx0, true);
vrend_clicbs->make_current(ctx0->sub->gl_context);
}
void vrend_renderer_get_rect(int res_handle, struct iovec *iov, unsigned int num_iovs,

Loading…
Cancel
Save