ngl: Fix a case of flipped shadow

In the non-sliced case, we were rendering the shadow
upside down.
This commit is contained in:
Matthias Clasen 2021-04-11 22:02:44 -04:00
parent da6096faaf
commit 46270d3dcd

View File

@ -2433,7 +2433,7 @@ gsk_ngl_render_job_visit_blurred_outset_shadow_node (GskNglRenderJob *job,
float min_x = floorf (outline->bounds.origin.x - spread - half_blur_extra + dx);
float min_y = floorf (outline->bounds.origin.y - spread - half_blur_extra + dy);
offscreen.was_offscreen = FALSE;
offscreen.was_offscreen = TRUE;
offscreen.texture_id = blurred_texture_id;
init_full_texture_region (&offscreen);