summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorge Kyriazis <[email protected]>2017-04-14 13:56:09 -0500
committerGeorge Kyriazis <[email protected]>2017-04-14 18:03:40 -0500
commitb9d4256e11dc462e0870a8d0a7b544604ddcaa5a (patch)
treee8697de9d7ecc2507c215ac38e025b17eaf23237
parent6a8d5ab932e525f16e744b4f13c4f6a7fa636ecf (diff)
swr: Fix swr osmesa build
Use GALLIUM_SWR to standardize Reviewed-by: Emil Velikov <[email protected]>
-rw-r--r--src/gallium/targets/osmesa/SConscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/targets/osmesa/SConscript b/src/gallium/targets/osmesa/SConscript
index 47937a23d29..7be1b48c0b2 100644
--- a/src/gallium/targets/osmesa/SConscript
+++ b/src/gallium/targets/osmesa/SConscript
@@ -31,7 +31,7 @@ if env['llvm']:
env.Prepend(LIBS = [llvmpipe])
if env['swr']:
- env.Append(CPPDEFINES = 'HAVE_SWR')
+ env.Append(CPPDEFINES = 'GALLIUM_SWR')
env.Prepend(LIBS = [swr])
if env['platform'] == 'windows':