[gtk/wip/chergert/glproto: 376/526] reset alpha for offscreen drawing
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/chergert/glproto: 376/526] reset alpha for offscreen drawing
- Date: Tue, 16 Feb 2021 01:14:35 +0000 (UTC)
commit e7ca3741a6ec274cd0659586dcf1bef21c7fe797
Author: Christian Hergert <chergert redhat com>
Date: Fri Jan 29 15:21:15 2021 -0800
reset alpha for offscreen drawing
these are handled when drawing them back on the main framebuffer
gsk/next/gskglrenderjob.c | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/gsk/next/gskglrenderjob.c b/gsk/next/gskglrenderjob.c
index 6097edd28d..d4054ee73a 100644
--- a/gsk/next/gskglrenderjob.c
+++ b/gsk/next/gskglrenderjob.c
@@ -3594,6 +3594,7 @@ gsk_gl_render_job_visit_node_with_offscreen (GskGLRenderJob *job,
job->offset_x = 0;
job->offset_y = 0;
+ job->alpha = 1.0f;
gsk_gl_render_job_visit_node (job, node);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]