[Mesa-dev] [PATCH] swr/rast: make SWR_VISIBLE attribute work for windows

Cherniak, Bruce bruce.cherniak at intel.com
Tue Jul 11 18:09:11 UTC 2017


Reviewed-by: Bruce Cherniak <bruce.cherniak at intel.com> 

> On Jul 11, 2017, at 9:52 AM, Tim Rowley <timothy.o.rowley at intel.com> wrote:
> 
> From: George Kyriazis <george.kyriazis at intel.com>
> 
> Needed to expose SwrGetInterface
> ---
> 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 8657709..a16f577 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.7.4
> 
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev



More information about the mesa-dev mailing list