diff options
author | Jeroen Bakker <jeroen@blender.org> | 2022-08-01 15:45:39 +0300 |
---|---|---|
committer | Jeroen Bakker <jeroen@blender.org> | 2022-08-01 15:47:18 +0300 |
commit | 55c5eb33126dbf58621981b0e2ce1279bff1f835 (patch) | |
tree | 3212420130d8597465d7306a4d7d7845991a2573 /source/blender/draw/engines/eevee_next | |
parent | afd1357aa8c5dbfa15fedc79abe2fecb6f630fec (diff) |
Eevee: Fix compilation error in eevee-next.
Although eevee-next is disabled in Blender 3.3 there is an error that is
visible when compiling shaders using the shader builder.
This is because of an error in a preprocessing directive (defined should
be define).
Diffstat (limited to 'source/blender/draw/engines/eevee_next')
-rw-r--r-- | source/blender/draw/engines/eevee_next/shaders/eevee_attributes_lib.glsl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/draw/engines/eevee_next/shaders/eevee_attributes_lib.glsl b/source/blender/draw/engines/eevee_next/shaders/eevee_attributes_lib.glsl index 974581e674e..6fe5fa01fa3 100644 --- a/source/blender/draw/engines/eevee_next/shaders/eevee_attributes_lib.glsl +++ b/source/blender/draw/engines/eevee_next/shaders/eevee_attributes_lib.glsl @@ -3,7 +3,7 @@ #pragma BLENDER_REQUIRE(common_math_lib.glsl) #pragma BLENDER_REQUIRE(gpu_shader_codegen_lib.glsl) -#defined EEVEE_ATTRIBUTE_LIB +#define EEVEE_ATTRIBUTE_LIB #if defined(MAT_GEOM_MESH) |