From 27c5568de3674ec95f02816a06b13180bad0838b Mon Sep 17 00:00:00 2001 From: George Kyriazis Date: Tue, 11 Jul 2017 08:13:49 -0600 Subject: [PATCH] swr/rast: make SWR_VISIBLE attribute work for windows Needed to expose SwrGetInterface Reviewed-by: Bruce Cherniak --- src/gallium/drivers/swr/rasterizer/common/os.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/swr/rasterizer/common/os.h b/src/gallium/drivers/swr/rasterizer/common/os.h index 86577094059..a16f5779d82 100644 --- a/src/gallium/drivers/swr/rasterizer/common/os.h +++ b/src/gallium/drivers/swr/rasterizer/common/os.h @@ -30,7 +30,7 @@ #if (defined(FORCE_WINDOWS) || defined(_WIN32)) && !defined(FORCE_LINUX) #define SWR_API __cdecl -#define SWR_VISIBLE +#define SWR_VISIBLE __declspec(dllexport) #ifndef NOMINMAX #define NOMINMAX -- 2.30.2