diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2019-05-01 11:48:13 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2019-05-01 13:09:18 +0300 |
commit | e6705fad3393867d2e3fea040f61931edf9d5709 (patch) | |
tree | 46922b283827630c89dd1b20fa2dc960cb91e2ac /source/blender/draw/intern/DRW_render.h | |
parent | 28ada66f3803a6f376820817aa6ba6c46d881330 (diff) |
DRW: Add DRW_STATE_BLEND_PREMUL_UNDER
Just basic alpha under operation with premultiplied source.
Diffstat (limited to 'source/blender/draw/intern/DRW_render.h')
-rw-r--r-- | source/blender/draw/intern/DRW_render.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/draw/intern/DRW_render.h b/source/blender/draw/intern/DRW_render.h index b0320a522f8..4d8fefbbc06 100644 --- a/source/blender/draw/intern/DRW_render.h +++ b/source/blender/draw/intern/DRW_render.h @@ -329,7 +329,7 @@ typedef enum { DRW_STATE_BLEND = (1 << 15), DRW_STATE_ADDITIVE = (1 << 16), DRW_STATE_MULTIPLY = (1 << 17), - /* DRW_STATE_TRANSMISSION = (1 << 18), */ /* Not used */ + DRW_STATE_BLEND_PREMUL_UNDER = (1 << 18), DRW_STATE_CLIP_PLANES = (1 << 19), /** Same as DRW_STATE_ADDITIVE but let alpha accumulate without premult. */ DRW_STATE_ADDITIVE_FULL = (1 << 20), |