Skip to content

Commit

Permalink
fix blur
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanfleury committed Dec 2, 2024
1 parent 7400432 commit aee2d51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/raddbg/raddbg_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -8337,7 +8337,7 @@ rd_window_frame(RD_Window *ws)
// rjf: blur background
if(box->flags & UI_BoxFlag_DrawBackgroundBlur && rd_setting_val_from_code(RD_SettingCode_BackgroundBlur).s32)
{
R_PassParams_Blur *params = dr_blur(box->rect, box->blur_size*(1-box->transparency), 0);
R_PassParams_Blur *params = dr_blur(pad_2f32(box->rect, 1.f), box->blur_size*(1-box->transparency), 0);
MemoryCopyArray(params->corner_radii, box->corner_radii);
}

Expand Down

0 comments on commit aee2d51

Please sign in to comment.