From b5be63c8dc92734b11f3ebbf6d5ffbb41452a072 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= Date: Mon, 23 Feb 2015 17:48:40 +0100 Subject: [PATCH] Fix cursor resource creation --- src/vrend_renderer.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/vrend_renderer.c b/src/vrend_renderer.c index bfbd64c..917160d 100644 --- a/src/vrend_renderer.c +++ b/src/vrend_renderer.c @@ -3362,7 +3362,8 @@ static int check_resource_valid(struct vrend_renderer_resource_create_args *args } else { if (!((args->bind & PIPE_BIND_SAMPLER_VIEW) || (args->bind & PIPE_BIND_DEPTH_STENCIL) || - (args->bind & PIPE_BIND_RENDER_TARGET))) + (args->bind & PIPE_BIND_RENDER_TARGET) || + (args->bind & PIPE_BIND_CURSOR))) return -1; if (args->target == PIPE_TEXTURE_2D ||