diff options
author | Jeroen Bakker <jbakker> | 2020-08-28 15:41:36 +0300 |
---|---|---|
committer | Jeroen Bakker <jeroen@blender.org> | 2020-08-28 15:41:41 +0300 |
commit | 2654e9c9c1915a237201ec35f6c6794de66de770 (patch) | |
tree | a7eae22ba394db50d912c7f00ed786436c2652b5 /source/blender/draw/engines/eevee/eevee_private.h | |
parent | 922aac999d8ca64281038629300cc8b546235261 (diff) |
Fix T80141: Fix Compiling Workbench Volume Shaders (Mesa 20.0.8)
Default mesa driver for ubuntu 20.04 fails when a name is defined twice.
M_PI is defined in both `common_workbench_lib` and `common_math_lib`. This patch
remove the define out of common_workbench_lib
For reference it fails on https://github.com/mesa3d/mesa/blob/mesa-20.0.8/src/compiler/glsl/glcpp/glcpp-parse.y#L1186
during the check if the macros are the same.
Reviewed By: Clément Foucault
Differential Revision: https://developer.blender.org/D8741
Diffstat (limited to 'source/blender/draw/engines/eevee/eevee_private.h')
0 files changed, 0 insertions, 0 deletions