Eevee: Fix T52510: assert with volume defines.
This assert was not making sense at all. Removing
This commit is contained in:
parent
07e6e5edfb
commit
79a1d74c78
Notes:
blender-bot
2023-02-14 06:39:23 +01:00
Referenced by issue #52510, Eevee: assert with volume defines
|
@ -336,8 +336,6 @@ static char *eevee_get_volume_defines(int options)
|
|||
{
|
||||
char *str = NULL;
|
||||
|
||||
BLI_assert(options < VAR_MAT_MAX);
|
||||
|
||||
DynStr *ds = BLI_dynstr_new();
|
||||
BLI_dynstr_appendf(ds, SHADER_DEFINES);
|
||||
BLI_dynstr_appendf(ds, "#define VOLUMETRICS\n");
|
||||
|
|
Loading…
Reference in New Issue