Eevee: Fix T52510: assert with volume defines.

This assert was not making sense at all. Removing
This commit is contained in:
Clément Foucault 2017-09-12 17:50:21 +02:00
parent 07e6e5edfb
commit 79a1d74c78
Notes: blender-bot 2023-02-14 06:39:23 +01:00
Referenced by issue #52510, Eevee: assert with volume defines
1 changed files with 0 additions and 2 deletions

View File

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