diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2020-02-11 17:18:55 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2020-02-11 17:19:04 +0300 |
commit | 804e90b42d728ecb1073af8d0bae15a91b13a469 (patch) | |
tree | 309de25d99c92286b10c9d27e547fd43a69299c1 /source/blender/draw/engines/workbench/solid_mode.c | |
parent | 58cdab8b9759dd59b55895f2f76b9624addbb324 (diff) |
DRW: Color Management improvement
Reviewed By: brecht sergey jbakker
Differential Revision: http://developer.blender.org/D6729
Diffstat (limited to 'source/blender/draw/engines/workbench/solid_mode.c')
-rw-r--r-- | source/blender/draw/engines/workbench/solid_mode.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/source/blender/draw/engines/workbench/solid_mode.c b/source/blender/draw/engines/workbench/solid_mode.c index e1050751830..fed7e230a86 100644 --- a/source/blender/draw/engines/workbench/solid_mode.c +++ b/source/blender/draw/engines/workbench/solid_mode.c @@ -58,13 +58,12 @@ static void workbench_solid_cache_finish(void *vedata) workbench_deferred_cache_finish(data); } -static void workbench_solid_draw_background(void *vedata) +static void workbench_solid_draw_scene(void *vedata) { WORKBENCH_Data *data = vedata; const int num_samples = workbench_num_viewport_rendering_iterations(data); for (int sample = 0; sample < num_samples; sample++) { - workbench_deferred_draw_background(data); workbench_deferred_draw_scene(data); } workbench_deferred_draw_finish(data); @@ -113,8 +112,7 @@ DrawEngineType draw_engine_workbench_solid = { &workbench_solid_cache_init, &workbench_solid_cache_populate, &workbench_solid_cache_finish, - &workbench_solid_draw_background, - NULL, + &workbench_solid_draw_scene, &workbench_solid_view_update, &workbench_solid_id_update, &workbench_render_to_image, |