diff options
author | Brecht Van Lommel <brecht@blender.org> | 2020-02-26 14:10:41 +0300 |
---|---|---|
committer | Brecht Van Lommel <brecht@blender.org> | 2020-02-26 14:28:22 +0300 |
commit | 28a16c4374df1bdca7e7bce3f4353dae088ab1bf (patch) | |
tree | caa6b899b799be69deedf39878acb8b7bc33bfac /source/blender/draw | |
parent | d95dbd1f4f1ca270e1f1d53ef75be29e7a423c28 (diff) |
Cleanup: don't set renderpass_block twice for volumes
Diffstat (limited to 'source/blender/draw')
-rw-r--r-- | source/blender/draw/engines/eevee/eevee_volumes.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/source/blender/draw/engines/eevee/eevee_volumes.c b/source/blender/draw/engines/eevee/eevee_volumes.c index 456673c92fa..d11e93bbc3f 100644 --- a/source/blender/draw/engines/eevee/eevee_volumes.c +++ b/source/blender/draw/engines/eevee/eevee_volumes.c @@ -442,8 +442,6 @@ void EEVEE_volumes_cache_object_add(EEVEE_ViewLayerData *sldata, grp, "renderpass_block", EEVEE_material_default_render_pass_ubo_get(sldata)); DRW_shgroup_uniform_block(grp, "common_block", sldata->common_ubo); - DRW_shgroup_uniform_block( - grp, "renderpass_block", EEVEE_material_default_render_pass_ubo_get(sldata)); DRW_shgroup_uniform_vec3(grp, "volumeOrcoLoc", texcoloc, 1); DRW_shgroup_uniform_vec3(grp, "volumeOrcoSize", texcosize, 1); |