diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-04-17 21:02:17 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-04-17 21:02:17 +0300 |
commit | dd8d55b31ac693aed0510551d080bbaca9c3cb7e (patch) | |
tree | cbd1078a444e961da6223d848f86c3c73dfc4496 /source/blender/draw | |
parent | 9b8e27127e867a000a9d3b8f29bdb3ec365646c6 (diff) |
Cleanup: unused vars, long lines
Diffstat (limited to 'source/blender/draw')
-rw-r--r-- | source/blender/draw/engines/workbench/workbench_materials_solid.c | 4 | ||||
-rw-r--r-- | source/blender/draw/modes/object_mode.c | 1 |
2 files changed, 2 insertions, 3 deletions
diff --git a/source/blender/draw/engines/workbench/workbench_materials_solid.c b/source/blender/draw/engines/workbench/workbench_materials_solid.c index 8b971a4df73..6fb26609e90 100644 --- a/source/blender/draw/engines/workbench/workbench_materials_solid.c +++ b/source/blender/draw/engines/workbench/workbench_materials_solid.c @@ -120,8 +120,8 @@ void workbench_solid_materials_draw_scene(WORKBENCH_Data *vedata) { WORKBENCH_PassList *psl = ((WORKBENCH_Data *)vedata)->psl; - DefaultFramebufferList *dfbl = DRW_viewport_framebuffer_list_get(); - +// DefaultFramebufferList *dfbl = DRW_viewport_framebuffer_list_get(); + DRW_draw_pass(psl->depth_pass); // if (studio lighting) { // DRW_draw_pass(psl->lighting_pass); diff --git a/source/blender/draw/modes/object_mode.c b/source/blender/draw/modes/object_mode.c index f9a02b2a7a2..720a547f8f8 100644 --- a/source/blender/draw/modes/object_mode.c +++ b/source/blender/draw/modes/object_mode.c @@ -2184,7 +2184,6 @@ static void OBJECT_draw_scene(void *vedata) OBJECT_FramebufferList *fbl = ((OBJECT_Data *)vedata)->fbl; OBJECT_PrivateData *g_data = stl->g_data; DefaultFramebufferList *dfbl = DRW_viewport_framebuffer_list_get(); - DefaultTextureList *dtxl = DRW_viewport_texture_list_get(); int id_ct_select = g_data->id_ofs_select; int id_ct_select_group = g_data->id_ofs_select_group; |