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 47937a2..7be1b48 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':