Merge pull request #87489 from clayjohn/GLES3-scissor

Disable scissor test after rendering batches in compatibility renderer
This commit is contained in:
Yuri Sizov 2024-01-24 14:08:44 +01:00
commit 6876303c85
1 changed files with 1 additions and 0 deletions

View File

@ -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); _render_batch(p_lights, i, r_render_info);
} }
glDisable(GL_SCISSOR_TEST);
state.current_batch_index = 0; state.current_batch_index = 0;
state.canvas_instance_batches.clear(); state.canvas_instance_batches.clear();
state.last_item_index += index; state.last_item_index += index;