aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-02-08 19:32:52 +0100
committerdec05eba <dec05eba@protonmail.com>2024-02-08 19:32:52 +0100
commit463393a0c0615ca500645a856f348684546bc1f6 (patch)
tree452ffd57185513fde451bdc6d6f372c16ea1e022
parent348ab7040349858a2b9fa93390bf96011f12687f (diff)
Correct color for clear with bgra
-rw-r--r--src/color_conversion.c5
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: