From 29ccbd9b1e59eebb139008f9d292a0c6f01ca770 Mon Sep 17 00:00:00 2001 From: Jesse Natalie Date: Tue, 8 Dec 2020 10:17:24 -0800 Subject: [PATCH] d3d12: Add forward declaration for LUID This is needed so that the driver can be initialized by external code without windows.h or winadapter.h. Reviewed-by: Erik Faye-Lund Part-of: --- src/gallium/drivers/d3d12/d3d12_public.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gallium/drivers/d3d12/d3d12_public.h b/src/gallium/drivers/d3d12/d3d12_public.h index c0d9c66..12dd39f 100644 --- a/src/gallium/drivers/d3d12/d3d12_public.h +++ b/src/gallium/drivers/d3d12/d3d12_public.h @@ -26,6 +26,7 @@ struct pipe_screen; struct sw_winsys; +typedef struct _LUID LUID; #ifdef __cplusplus extern "C" { -- 2.7.4