Disable scissor test after rendering batches in compatibility renderer
(cherry picked from commit 062e8802b7
)
This commit is contained in:
parent
8d479e8389
commit
dc6ae4a8f0
|
@ -774,6 +774,7 @@ void RasterizerCanvasGLES3::_render_items(RID p_to_render_target, int p_item_cou
|
||||||
_render_batch(p_lights, i);
|
_render_batch(p_lights, i);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
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;
|
||||||
|
|
Loading…
Reference in New Issue