diff options
author | George Kyriazis <[email protected]> | 2017-01-04 13:13:36 -0600 |
---|---|---|
committer | Tim Rowley <[email protected]> | 2017-01-05 07:30:18 -0600 |
commit | 36ad8265489fc66ab45b9b74dafa353a93bdb03b (patch) | |
tree | eb08acbe69bb63d80d8c2fd199962622856a9305 /src/gallium/drivers | |
parent | 3753dc896dfe98b246ba8b030aab27a9928533af (diff) |
swr: fix windows build break
wrap lp_bld_type.h around extern "C".
Windows decorates global variables, so when used from .cpp files, need
to use an undecorated version.
Also, removed related and unneeded code from swr_screen.cpp
Reviewed-by: Ilia Mirkin <[email protected]>
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r-- | src/gallium/drivers/swr/swr_screen.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/gallium/drivers/swr/swr_screen.cpp b/src/gallium/drivers/swr/swr_screen.cpp index ad270e5bea2..6ff21cdf186 100644 --- a/src/gallium/drivers/swr/swr_screen.cpp +++ b/src/gallium/drivers/swr/swr_screen.cpp @@ -39,10 +39,6 @@ #include "state_tracker/sw_winsys.h" -extern "C" { -#include "gallivm/lp_bld_limits.h" -} - #include "jit_api.h" #include "memory/TilingFunctions.h" |