From: George Kyriazis Date: Tue, 11 Jul 2017 14:13:49 +0000 (-0600) Subject: swr/rast: make SWR_VISIBLE attribute work for windows X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=27c5568de3674ec95f02816a06b13180bad0838b;p=mesa.git swr/rast: make SWR_VISIBLE attribute work for windows Needed to expose SwrGetInterface Reviewed-by: Bruce Cherniak --- 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