gpu: Disable GL_DEPTH_TEST

The call to enable depth testing was copied from the GL
renderer, but it's not needed.

Fixes #6401
This commit is contained in:
Luca Bacci 2024-02-17 09:38:06 +01:00
parent ae45be7875
commit 79568d2944

View File

@ -144,8 +144,7 @@ gsk_gl_frame_submit (GskGpuFrame *frame,
glEnable (GL_SCISSOR_TEST);
glEnable (GL_DEPTH_TEST);
glDepthFunc (GL_LEQUAL);
glDisable (GL_DEPTH_TEST);
glEnable (GL_BLEND);
if (vertex_buffer)