Merge pull request #117725 from kleonc/gles3_fix_skipping_whole_batch
Fix GLES3 batching skipping rendering all items
This commit is contained in:
@@ -661,7 +661,7 @@ void RasterizerCanvasGLES3::_render_items(RID p_to_render_target, int p_item_cou
|
||||
}
|
||||
}
|
||||
|
||||
if (index == 0) {
|
||||
if (state.current_batch_index == 0 && state.canvas_instance_batches[0].instance_count == 0) {
|
||||
// Nothing to render, just return.
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user