Skip to content

gl: On Android when resizing the screen, visual tearing may occur on some devices since clearing the screen is clipped by scissor. So disable it when cleaning up the render pass.#593

Merged
not-fl3 merged 1 commit into
not-fl3:masterfrom
narodnik:master
Dec 23, 2025

Conversation

@narodnik

@narodnik narodnik commented Dec 22, 2025

Copy link
Copy Markdown
Contributor

I think this is because on android the pixels not written to are uninitialized after the surface size is changed. so we want glClear() to affect the whole surface (the width, height used for scissor is correct now but is not guaranteed during the transition frame).

…some devices since clearing the screen is clipped by scissor. So disable it when cleaning up the render pass.
@not-fl3
not-fl3 merged commit 815195b into not-fl3:master Dec 23, 2025
11 checks passed
@not-fl3

not-fl3 commented Dec 23, 2025

Copy link
Copy Markdown
Owner

Thanks for PR!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants