From 062e8802b7a5569f37d6a42e8a270c31b58ff6e6 Mon Sep 17 00:00:00 2001 From: clayjohn Date: Mon, 22 Jan 2024 14:55:20 -0800 Subject: [PATCH] Disable scissor test after rendering batches in compatibility renderer --- drivers/gles3/rasterizer_canvas_gles3.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gles3/rasterizer_canvas_gles3.cpp b/drivers/gles3/rasterizer_canvas_gles3.cpp index fe16d8838bf..2613b6762ca 100644 --- a/drivers/gles3/rasterizer_canvas_gles3.cpp +++ b/drivers/gles3/rasterizer_canvas_gles3.cpp @@ -775,6 +775,7 @@ void RasterizerCanvasGLES3::_render_items(RID p_to_render_target, int p_item_cou _render_batch(p_lights, i, r_render_info); } + glDisable(GL_SCISSOR_TEST); state.current_batch_index = 0; state.canvas_instance_batches.clear(); state.last_item_index += index;