diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2017-09-12 18:50:21 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2017-09-12 18:50:21 +0300 |
commit | 79a1d74c78cff7ec402835e4c61850df0f3b1b29 (patch) | |
tree | 1a04f59c2fde493364a051bfd0eb8af7522b3a68 /source/blender/draw/engines/eevee | |
parent | 07e6e5edfb9fc14f4951d495871605f48d431709 (diff) |
Eevee: Fix T52510: assert with volume defines.
This assert was not making sense at all. Removing
Diffstat (limited to 'source/blender/draw/engines/eevee')
-rw-r--r-- | source/blender/draw/engines/eevee/eevee_materials.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/source/blender/draw/engines/eevee/eevee_materials.c b/source/blender/draw/engines/eevee/eevee_materials.c index 7dc28424a36..e7c0f59e912 100644 --- a/source/blender/draw/engines/eevee/eevee_materials.c +++ b/source/blender/draw/engines/eevee/eevee_materials.c @@ -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"); |