diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2019-05-11 15:42:26 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2019-05-14 11:57:03 +0300 |
commit | ad0e95688d254abee315622ebdc3aeb0d2ba979d (patch) | |
tree | fe08a1fdd16b3bdd4e9e645b4a8f3e39a5856066 /source/blender/draw/intern/DRW_render.h | |
parent | 2d28df783a029ee5b64da005b2fa400e4e8de976 (diff) |
Cleanup: DRW: Remove pointers to materials
Diffstat (limited to 'source/blender/draw/intern/DRW_render.h')
-rw-r--r-- | source/blender/draw/intern/DRW_render.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/source/blender/draw/intern/DRW_render.h b/source/blender/draw/intern/DRW_render.h index 38458dd48f0..6f9f15a7aba 100644 --- a/source/blender/draw/intern/DRW_render.h +++ b/source/blender/draw/intern/DRW_render.h @@ -421,16 +421,14 @@ void DRW_shgroup_call_procedural_triangles_add(DRWShadingGroup *shgroup, void DRW_shgroup_call_object_add_ex(DRWShadingGroup *shgroup, struct GPUBatch *geom, struct Object *ob, - struct Material *ma, bool bypass_culling); #define DRW_shgroup_call_object_add(shgroup, geom, ob) \ - DRW_shgroup_call_object_add_ex(shgroup, geom, ob, NULL, false) + DRW_shgroup_call_object_add_ex(shgroup, geom, ob, false) #define DRW_shgroup_call_object_add_no_cull(shgroup, geom, ob) \ - DRW_shgroup_call_object_add_ex(shgroup, geom, ob, NULL, true) + DRW_shgroup_call_object_add_ex(shgroup, geom, ob, true) void DRW_shgroup_call_object_add_with_callback(DRWShadingGroup *shgroup, struct GPUBatch *geom, struct Object *ob, - struct Material *ma, DRWCallVisibilityFn *callback, void *user_data); @@ -440,7 +438,6 @@ void DRW_shgroup_call_sculpt_add(DRWShadingGroup *shading_group, bool use_mask, bool use_vert_color); void DRW_shgroup_call_sculpt_with_materials_add(DRWShadingGroup **shgroups, - Material **materials, Object *ob, bool use_vcol); |