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).
This commit is contained in:
Jeroen Bakker 2022-08-01 14:45:39 +02:00
parent afd1357aa8
commit 55c5eb3312
1 changed files with 1 additions and 1 deletions

View File

@ -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)