diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2020-08-16 16:33:05 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2020-08-18 22:30:10 +0300 |
commit | 10558d6973be8fc461a4b8aad734ba0881d18e85 (patch) | |
tree | 27b0183af1254e75561c7d3363305b05b3a82283 /source/blender/draw/intern/draw_manager.c | |
parent | 969bcf0793dca0e75bf42998aba92b1abd90ec23 (diff) |
Cleanup: GPUState: remove use of GPU_blend_set_func
Diffstat (limited to 'source/blender/draw/intern/draw_manager.c')
-rw-r--r-- | source/blender/draw/intern/draw_manager.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/draw/intern/draw_manager.c b/source/blender/draw/intern/draw_manager.c index 664d514a77e..fd57934b8e5 100644 --- a/source/blender/draw/intern/draw_manager.c +++ b/source/blender/draw/intern/draw_manager.c @@ -1595,7 +1595,7 @@ void DRW_draw_render_loop_offscreen(struct Depsgraph *depsgraph, GPU_clear_color(0.0f, 0.0f, 0.0f, 1.0f); GPU_clear(GPU_COLOR_BIT); /* Premult Alpha over black background. */ - GPU_blend_set_func(GPU_ONE, GPU_ONE_MINUS_SRC_ALPHA); + GPU_blend_set_func_separate(GPU_BLEND_ALPHA_PREMULT); GPU_blend(true); } |