diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2020-08-16 17:48:21 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2020-08-18 22:30:10 +0300 |
commit | 298329554a5a0ae40bc4a64ca9c1490d22edc947 (patch) | |
tree | c472a8a8f711e4de331b6cedafb9adc74014becd /source/blender/draw/intern | |
parent | bf1b622dd962416fef94ccb2f47878eced31e20d (diff) |
Cleanup: GPUState: remove double GPU_blend calls
Diffstat (limited to 'source/blender/draw/intern')
-rw-r--r-- | source/blender/draw/intern/draw_manager.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/source/blender/draw/intern/draw_manager.c b/source/blender/draw/intern/draw_manager.c index 4e8b931f6a6..11430c4075e 100644 --- a/source/blender/draw/intern/draw_manager.c +++ b/source/blender/draw/intern/draw_manager.c @@ -1596,7 +1596,6 @@ void DRW_draw_render_loop_offscreen(struct Depsgraph *depsgraph, GPU_clear(GPU_COLOR_BIT); /* Premult Alpha over black background. */ GPU_blend(GPU_BLEND_ALPHA_PREMULT); - GPU_blend(GPU_BLEND_ALPHA); } GPU_matrix_identity_set(); @@ -1606,7 +1605,6 @@ void DRW_draw_render_loop_offscreen(struct Depsgraph *depsgraph, if (draw_background) { /* Reset default. */ - GPU_blend(GPU_BLEND_ALPHA); GPU_blend(GPU_BLEND_NONE); } |