summaryrefslogtreecommitdiffstats
path: root/src/gallium/targets/libgl-gdi/SConscript
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/targets/libgl-gdi/SConscript')
-rw-r--r--src/gallium/targets/libgl-gdi/SConscript4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/targets/libgl-gdi/SConscript b/src/gallium/targets/libgl-gdi/SConscript
index 2a5236360ba..d3251caec57 100644
--- a/src/gallium/targets/libgl-gdi/SConscript
+++ b/src/gallium/targets/libgl-gdi/SConscript
@@ -30,6 +30,10 @@ if env['llvm']:
env.Append(CPPDEFINES = 'HAVE_LLVMPIPE')
drivers += [llvmpipe]
+ if env['swr']:
+ env.Append(CPPDEFINES = 'HAVE_SWR')
+ drivers += [swr]
+
if env['gcc'] and env['machine'] != 'x86_64':
# DEF parser in certain versions of MinGW is busted, as does not behave as
# MSVC. mingw-w64 works fine.