diff options
author | dec05eba <dec05eba@protonmail.com> | 2024-02-08 19:32:52 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2024-02-08 19:32:52 +0100 |
commit | 463393a0c0615ca500645a856f348684546bc1f6 (patch) | |
tree | 452ffd57185513fde451bdc6d6f372c16ea1e022 /src | |
parent | 348ab7040349858a2b9fa93390bf96011f12687f (diff) |
Correct color for clear with bgra
Diffstat (limited to 'src')
-rw-r--r-- | src/color_conversion.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/color_conversion.c b/src/color_conversion.c index 1d70b9e..166ba90 100644 --- a/src/color_conversion.c +++ b/src/color_conversion.c @@ -465,6 +465,11 @@ void gsr_color_conversion_clear(gsr_color_conversion *self) { color1[1] = 0.0f; color1[2] = 0.0f; color1[3] = 1.0f; + + color2[0] = 0.0f; + color2[1] = 0.0f; + color2[2] = 0.0f; + color2[3] = 1.0f; break; } case GSR_DESTINATION_COLOR_NV12: |