[Mesa-dev] [PATCH] swr/rast: make SWR_VISIBLE attribute work for windows
Tim Rowley
timothy.o.rowley at intel.com
Tue Jul 11 14:52:08 UTC 2017
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
More information about the mesa-dev
mailing list