diff options
author | Jeroen Bakker <jeroen@blender.org> | 2022-09-06 09:18:04 +0300 |
---|---|---|
committer | Jeroen Bakker <jeroen@blender.org> | 2022-09-06 09:18:04 +0300 |
commit | 077ba5ac386f3cc75a67e01cdd75239b76c34de5 (patch) | |
tree | b4cbbc25b91b4f2fddf477eb6866aa0e99353e5d /source/blender/gpu/intern/gpu_shader_builder_stubs.cc | |
parent | 32d19f7317e9f2d726230a67ba9fed623fee337e (diff) |
ShaderBuilder: Fix compilation error due to recent changes.
Added CustomData_get_layer to 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 | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/gpu/intern/gpu_shader_builder_stubs.cc b/source/blender/gpu/intern/gpu_shader_builder_stubs.cc index 575f98bf428..e15054bd045 100644 --- a/source/blender/gpu/intern/gpu_shader_builder_stubs.cc +++ b/source/blender/gpu/intern/gpu_shader_builder_stubs.cc @@ -232,6 +232,11 @@ void *CustomData_get_layer_named(const struct CustomData *UNUSED(data), return nullptr; } +void *CustomData_get_layer(const struct CustomData *UNUSED(data), int UNUSED(type)) +{ + return nullptr; +} + /** \} */ /* -------------------------------------------------------------------- */ |