diff options
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; +} + /** \} */ /* -------------------------------------------------------------------- */ |