[gtk/wip/chergert/glproto] reset alpha for offscreen drawing



commit c2fb541842dff7a252b287cfb2c913dea0ea9960
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]