summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/swr/rasterizer
diff options
context:
space:
mode:
authorGeorge Kyriazis <[email protected]>2017-07-11 08:13:49 -0600
committerTim Rowley <[email protected]>2017-07-11 13:37:57 -0500
commit27c5568de3674ec95f02816a06b13180bad0838b (patch)
tree66ed308e0e2867e1fd2e5ea8901eb5611c38b17d /src/gallium/drivers/swr/rasterizer
parent9d681a7a18880cc10e2c19afc6e0624331d67d25 (diff)
swr/rast: make SWR_VISIBLE attribute work for windows
Needed to expose SwrGetInterface Reviewed-by: Bruce Cherniak <[email protected]>
Diffstat (limited to 'src/gallium/drivers/swr/rasterizer')
-rw-r--r--src/gallium/drivers/swr/rasterizer/common/os.h2
1 files changed, 1 insertions, 1 deletions
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