diff --git a/src/virglrenderer.c b/src/virglrenderer.c index 889c17b..c544567 100644 --- a/src/virglrenderer.c +++ b/src/virglrenderer.c @@ -289,6 +289,7 @@ static struct vrend_if_cbs virgl_cbs = { void *virgl_renderer_get_cursor_data(uint32_t resource_id, uint32_t *width, uint32_t *height) { + vrend_renderer_force_ctx_0(); return vrend_renderer_get_cursor_contents(resource_id, width, height); }