diff options
author | Sergey Sharybin <sergey@blender.org> | 2022-03-25 13:36:08 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey@blender.org> | 2022-03-25 13:45:50 +0300 |
commit | 0c33e84020deca84c987dffa1302651f59c27158 (patch) | |
tree | 7921c909a2e76fcc260bbbf2556fe4ffe4d91abd /source/blender/blenkernel/intern/shader_fx.c | |
parent | 03df72ee4e7e7f9893df73de426cdc3af1c7a676 (diff) |
Fix compilation warnings after previous change
Thanks Jacques for finding solution for deprecation warning
which was generated by GCC for constructor.
The rest of the change is related on fixing memaccess warning
which was happening when memset/memcpy was used directly on
the DNA object pointer. Now there are two utility functions
for this:
- blender::dna::zero_memory
- blender::dna::copy_memory
Diffstat (limited to 'source/blender/blenkernel/intern/shader_fx.c')
0 files changed, 0 insertions, 0 deletions