mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-09 18:30:08 +00:00
gsk: Actually punch transparent holes
In a57f7e3935
I accidentally replaced { 0, 0, 0, 0 } with
GDK_RGBA_BLACK instead of GDK_RGBA_TRANSPARENT. Oops.
Fixes: #6634
This commit is contained in:
parent
ad0f9144ec
commit
ec9cdb74ef
@ -4013,7 +4013,7 @@ gsk_gl_render_job_visit_subsurface_node (GskGLRenderJob *job,
|
||||
/* Clear the area so we can see through */
|
||||
GskGLCommandBatch *batch;
|
||||
guint16 color[4];
|
||||
rgba_to_half (&GDK_RGBA_BLACK, color);
|
||||
rgba_to_half (&GDK_RGBA_TRANSPARENT, color);
|
||||
|
||||
batch = gsk_gl_command_queue_get_batch (job->command_queue);
|
||||
batch->draw.blend = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user