diff options
Diffstat (limited to 'source/blender/draw/engines/image/shaders/engine_image_frag.glsl')
-rw-r--r-- | source/blender/draw/engines/image/shaders/engine_image_frag.glsl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/draw/engines/image/shaders/engine_image_frag.glsl b/source/blender/draw/engines/image/shaders/engine_image_frag.glsl index d4eebb37ccb..f6a3e1affb9 100644 --- a/source/blender/draw/engines/image/shaders/engine_image_frag.glsl +++ b/source/blender/draw/engines/image/shaders/engine_image_frag.glsl @@ -82,7 +82,7 @@ void main() } if ((drawFlags & SIMA_DRAW_FLAG_APPLY_ALPHA) != 0) { - if (!imgPremultiplied && tex_color.a != 0.0 && tex_color.a != 1.0) { + if (!imgPremultiplied) { tex_color.rgb *= tex_color.a; } } |