Module: Mesa
Branch: master
Commit: b9d4256e11dc462e0870a8d0a7b544604ddcaa5a
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=b9d4256e11dc462e0870a8d0a7b544604ddcaa5a

Author: George Kyriazis <[email protected]>
Date:   Fri Apr 14 13:56:09 2017 -0500

swr: Fix swr osmesa build

Use GALLIUM_SWR to standardize

Reviewed-by: Emil Velikov <[email protected]>

---

 src/gallium/targets/osmesa/SConscript | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gallium/targets/osmesa/SConscript 
b/src/gallium/targets/osmesa/SConscript
index 47937a23d2..7be1b48c0b 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':

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to