Skip to content

Commit

Permalink
Merge pull request #87489 from clayjohn/GLES3-scissor
Browse files Browse the repository at this point in the history
Disable scissor test after rendering batches in compatibility renderer
  • Loading branch information
YuriSizov committed Jan 24, 2024
2 parents 9c9a00f + 062e880 commit 6876303
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/gles3/rasterizer_canvas_gles3.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 6876303

Please sign in to comment.