Sculpt-dev: fix broken color filter, alpha

was being set to garbage value.
This commit is contained in:
Joseph Eagar 2021-11-28 02:30:28 -08:00
parent 628925a5c6
commit 7ad9afd08a
1 changed files with 2 additions and 0 deletions

View File

@ -152,6 +152,8 @@ static void color_filter_task_cb(void *__restrict userdata,
random_factor = ((float)seed) / (float)0xFFFFFFFFu - 0.5f;
}
final_color[3] = 1.0f;
switch (mode) {
case COLOR_FILTER_FILL: {
float fill_color_rgba[4];