[gtk/offscreen-fixes: 4/5] ngl: Be explicit about offscreen clipping
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/offscreen-fixes: 4/5] ngl: Be explicit about offscreen clipping
- Date: Wed, 31 Mar 2021 18:42:29 +0000 (UTC)
commit 966554de278352893ee33f2636ef5173ee2e1f72
Author: Matthias Clasen <mclasen redhat com>
Date: Wed Mar 31 14:34:16 2021 -0400
ngl: Be explicit about offscreen clipping
Explicitly set all the input arguments.
This makes it clearer what is going on.
gsk/ngl/gsknglrenderjob.c | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/gsk/ngl/gsknglrenderjob.c b/gsk/ngl/gsknglrenderjob.c
index 93b06c38f6..08e99a7d19 100644
--- a/gsk/ngl/gsknglrenderjob.c
+++ b/gsk/ngl/gsknglrenderjob.c
@@ -1605,6 +1605,7 @@ gsk_ngl_render_job_visit_rounded_clip_node (GskNglRenderJob *job,
offscreen.bounds = &node->bounds;
offscreen.force_offscreen = TRUE;
+ offscreen.reset_clip = FALSE;
gsk_ngl_render_job_push_clip (job, &transformed_clip);
if (!gsk_ngl_render_job_visit_node_with_offscreen (job, child, &offscreen))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]