Disable scissor test after rendering batches in compatibility renderer
This commit is contained in:
parent
6fea273ed3
commit
062e8802b7
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue