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:
Matthias Clasen 2024-04-17 20:02:38 -04:00
parent ad0f9144ec
commit ec9cdb74ef

View File

@ -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;