diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2022-08-14 10:46:31 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2022-08-14 21:40:04 +0300 |
commit | 4b14fea38e742665ff28277c719532e5cc36e677 (patch) | |
tree | 48cb859daa44ac2a677900dedb9b790d85f91245 /source/blender/gpu/intern/gpu_shader_builder_stubs.cc | |
parent | 407f11c55f6de066960f6193dc48df4cd4ca4417 (diff) |
GPU: Fix shader builder compilation
Was missing a stub.
Diffstat (limited to 'source/blender/gpu/intern/gpu_shader_builder_stubs.cc')
-rw-r--r-- | source/blender/gpu/intern/gpu_shader_builder_stubs.cc | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/source/blender/gpu/intern/gpu_shader_builder_stubs.cc b/source/blender/gpu/intern/gpu_shader_builder_stubs.cc index 3a14c060484..575f98bf428 100644 --- a/source/blender/gpu/intern/gpu_shader_builder_stubs.cc +++ b/source/blender/gpu/intern/gpu_shader_builder_stubs.cc @@ -111,7 +111,7 @@ void BKE_id_attribute_copy_domains_temp(short UNUSED(id_type), const struct CustomData *UNUSED(ldata), const struct CustomData *UNUSED(pdata), const struct CustomData *UNUSED(cdata), - struct ID *UNUSED(i_id)) + struct ID *UNUSED(r_id)) { } @@ -225,6 +225,13 @@ bool CustomData_has_layer(const struct CustomData *UNUSED(data), int UNUSED(type return false; } +void *CustomData_get_layer_named(const struct CustomData *UNUSED(data), + int UNUSED(type), + const char *UNUSED(name)) +{ + return nullptr; +} + /** \} */ /* -------------------------------------------------------------------- */ |