diff options
author | Dalai Felinto <dfelinto@gmail.com> | 2018-06-07 20:13:06 +0300 |
---|---|---|
committer | Dalai Felinto <dfelinto@gmail.com> | 2018-06-07 20:13:23 +0300 |
commit | 85e28713825fc5d0d3cb6e060e2b851e67b918dd (patch) | |
tree | d85012f70925cf58754eb92ea8957a440280799f /source/blender/gpu | |
parent | d32b59fc18fc968062b69f1106784dd5fe88b2a2 (diff) |
No more need to tag sss as dirty for EEVEE
And for the records, this shoudn't have been added to the
GPU_material_uniform_buffer_tag_dirty function since they are unrelated.
Diffstat (limited to 'source/blender/gpu')
-rw-r--r-- | source/blender/gpu/intern/gpu_material.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/source/blender/gpu/intern/gpu_material.c b/source/blender/gpu/intern/gpu_material.c index 0404425ac3f..aa58f4365de 100644 --- a/source/blender/gpu/intern/gpu_material.c +++ b/source/blender/gpu/intern/gpu_material.c @@ -221,9 +221,6 @@ void GPU_material_uniform_buffer_tag_dirty(ListBase *gpumaterials) if (material->ubo != NULL) { GPU_uniformbuffer_tag_dirty(material->ubo); } - if (material->sss_profile != NULL) { - material->sss_dirty = true; - } } } |