diff options
author | Jeroen Bakker <j.bakker@atmind.nl> | 2018-05-02 18:08:42 +0300 |
---|---|---|
committer | Jeroen Bakker <j.bakker@atmind.nl> | 2018-05-02 18:08:42 +0300 |
commit | 98461aa5dc611a24f5c91fe1f21942f5932037db (patch) | |
tree | 5d4f0b9440497470ba5c175614fa5dfa7de8fd0e /source | |
parent | 9cfbdff71c0c04d351f12d5674d54c15e3a978d9 (diff) |
Workbench: Fix interface change in draw maanger
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/draw/engines/workbench/workbench_materials.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/draw/engines/workbench/workbench_materials.c b/source/blender/draw/engines/workbench/workbench_materials.c index 6ea65855f0b..65a331e1777 100644 --- a/source/blender/draw/engines/workbench/workbench_materials.c +++ b/source/blender/draw/engines/workbench/workbench_materials.c @@ -407,7 +407,7 @@ void workbench_materials_solid_cache_populate(WORKBENCH_Data *vedata, Object *ob gpumat_array[i] = NULL; } - struct Gwn_Batch **mat_geom = DRW_cache_object_surface_material_get(ob, gpumat_array, materials_len); + struct Gwn_Batch **mat_geom = DRW_cache_object_surface_material_get(ob, gpumat_array, materials_len, NULL, NULL, NULL); if (mat_geom) { for (int i = 0; i < materials_len; ++i) { Material *mat = give_current_material(ob, i + 1); |