[gtk/wip/chergert/glproto: 755/920] actually draw the cross fade
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/chergert/glproto: 755/920] actually draw the cross fade
- Date: Mon, 8 Feb 2021 19:15:40 +0000 (UTC)
commit 91ece9e30b7e2bf67168dc7300cb71cdc7aa972c
Author: Christian Hergert <chergert redhat com>
Date: Tue Jan 26 11:54:41 2021 -0800
actually draw the cross fade
gsk/next/gskglrenderjob.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/gsk/next/gskglrenderjob.c b/gsk/next/gskglrenderjob.c
index a35e0568d0..e62fc082e8 100644
--- a/gsk/next/gskglrenderjob.c
+++ b/gsk/next/gskglrenderjob.c
@@ -2482,7 +2482,8 @@ gsk_gl_render_job_visit_cross_fade_node (GskGLRenderJob *job,
offscreen_end.texture_id);
gsk_gl_program_set_uniform1i (job->driver->cross_fade,
UNIFORM_CROSS_FADE_PROGRESS,
- gsk_cross_fade_node_get_progress (node));
+ progress);
+ gsk_gl_render_job_draw_offscreen_rect (job, &node->bounds);
gsk_gl_program_end_draw (job->driver->cross_fade);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]