More clean of macros with an _END and no _BEGIN
Follow up on 7aed2de798.
This commit is contained in:
@@ -1087,7 +1087,7 @@ void DRW_draw_render_loop_ex(
|
||||
PROFILE_START(stime);
|
||||
drw_engines_cache_init();
|
||||
|
||||
DEG_OBJECT_ITER_FOR_RENDER_ENGINE(depsgraph, ob, DRW_iterator_mode_get())
|
||||
DEG_OBJECT_ITER_FOR_RENDER_ENGINE_BEGIN(depsgraph, ob, DRW_iterator_mode_get())
|
||||
{
|
||||
drw_engines_cache_populate(ob);
|
||||
}
|
||||
@@ -1331,7 +1331,7 @@ void DRW_render_object_iter(
|
||||
void *vedata, RenderEngine *engine, struct Depsgraph *depsgraph,
|
||||
void (*callback)(void *vedata, Object *ob, RenderEngine *engine, struct Depsgraph *depsgraph))
|
||||
{
|
||||
DEG_OBJECT_ITER_FOR_RENDER_ENGINE(depsgraph, ob, DRW_iterator_mode_get())
|
||||
DEG_OBJECT_ITER_FOR_RENDER_ENGINE_BEGIN(depsgraph, ob, DRW_iterator_mode_get())
|
||||
{
|
||||
DST.ob_state = NULL;
|
||||
callback(vedata, ob, engine, depsgraph);
|
||||
@@ -1636,7 +1636,7 @@ void DRW_draw_depth_loop(
|
||||
if (cache_is_dirty) {
|
||||
drw_engines_cache_init();
|
||||
|
||||
DEG_OBJECT_ITER_FOR_RENDER_ENGINE(depsgraph, ob, DRW_iterator_mode_get())
|
||||
DEG_OBJECT_ITER_FOR_RENDER_ENGINE_BEGIN(depsgraph, ob, DRW_iterator_mode_get())
|
||||
{
|
||||
drw_engines_cache_populate(ob);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user