From dd528305d579e4d473370fd8e15944ea59289151 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Ol=C5=A1=C3=A1k?= Date: Fri, 6 Aug 2021 16:03:11 -0400 Subject: [PATCH] gallium/noop: use threaded_transfer to enable threaded_context later Acked-By: Mike Blumenkrantz Acked-by: Pierre-Eric Pelloux-Prayer Part-of: --- src/gallium/auxiliary/driver_noop/noop_pipe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/auxiliary/driver_noop/noop_pipe.c b/src/gallium/auxiliary/driver_noop/noop_pipe.c index bd3ecbf86d1..b1e65e87adc 100644 --- a/src/gallium/auxiliary/driver_noop/noop_pipe.c +++ b/src/gallium/auxiliary/driver_noop/noop_pipe.c @@ -209,7 +209,7 @@ static void *noop_transfer_map(struct pipe_context *pipe, struct pipe_transfer *transfer; struct noop_resource *nresource = (struct noop_resource *)resource; - transfer = CALLOC_STRUCT(pipe_transfer); + transfer = (struct pipe_transfer*)CALLOC_STRUCT(threaded_transfer); if (!transfer) return NULL; pipe_resource_reference(&transfer->resource, resource);