swr: Fix swr osmesa build
authorGeorge Kyriazis <george.kyriazis@intel.com>
Fri, 14 Apr 2017 18:56:09 +0000 (13:56 -0500)
committerGeorge Kyriazis <george.kyriazis@intel.com>
Fri, 14 Apr 2017 23:03:40 +0000 (18:03 -0500)
Use GALLIUM_SWR to standardize

Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
src/gallium/targets/osmesa/SConscript

index 47937a23d29dfcdad28efd9946255f8d0a219e49..7be1b48c0b2b278a283a706a1e7ee07ec8678cdb 100644 (file)
@@ -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':