Skip to content

Commit

Permalink
Enable partial repaint on Android 9
Browse files Browse the repository at this point in the history
  • Loading branch information
knopp committed Jan 20, 2022
1 parent dc74809 commit 6e2b31e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions shell/platform/android/android_context_gl.cc
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,8 @@ static bool TeardownContext(EGLDisplay display, EGLContext context) {
class AndroidEGLSurfaceDamage {
public:
void init(EGLDisplay display, EGLContext context) {
if (GetAPILevel() < 29) {
// Disable partial repaint for devices older than Android 10. There
if (GetAPILevel() < 28) {
// Disable partial repaint for devices older than Android 9. There
// are old devices that have extensions below available but the
// implementation causes glitches (i.e. Xperia Z3 with Android 6).
partial_redraw_supported_ = false;
Expand Down

0 comments on commit 6e2b31e

Please sign in to comment.