diff options
author | Jeroen Bakker <jeroen@blender.org> | 2022-01-28 13:19:27 +0300 |
---|---|---|
committer | Jeroen Bakker <jeroen@blender.org> | 2022-01-28 13:48:47 +0300 |
commit | dcb7b3f9f78484840edc60bc4cf711823b7eec17 (patch) | |
tree | 70682ed0fa9ea2b44562ecbda0c18858843950ed /source/blender/draw/engines/image/shaders | |
parent | 379814a1184312aa3714491b92bf5b2ea94cce23 (diff) |
Image Engine: Fix issue show alpha flag not reset.
After showing the alpha in the image editor the setting was not reset
so all images in the editor showed as being transparent.
This commit fixes this by resetting the flag before updating.
Diffstat (limited to 'source/blender/draw/engines/image/shaders')
-rw-r--r-- | source/blender/draw/engines/image/shaders/engine_image_frag.glsl | 1 |
1 files changed, 0 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 604f9b807b3..298487baab2 100644 --- a/source/blender/draw/engines/image/shaders/engine_image_frag.glsl +++ b/source/blender/draw/engines/image/shaders/engine_image_frag.glsl @@ -5,7 +5,6 @@ #define IMAGE_DRAW_FLAG_APPLY_ALPHA (1 << 1) #define IMAGE_DRAW_FLAG_SHUFFLING (1 << 2) #define IMAGE_DRAW_FLAG_DEPTH (1 << 3) -#define IMAGE_DRAW_FLAG_DO_REPEAT (1 << 4) uniform sampler2D imageTexture; |