Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 6e2b31e

Browse files
committed
Enable partial repaint on Android 9
1 parent dc74809 commit 6e2b31e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

shell/platform/android/android_context_gl.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,8 @@ static bool TeardownContext(EGLDisplay display, EGLContext context) {
112112
class AndroidEGLSurfaceDamage {
113113
public:
114114
void init(EGLDisplay display, EGLContext context) {
115-
if (GetAPILevel() < 29) {
116-
// Disable partial repaint for devices older than Android 10. There
115+
if (GetAPILevel() < 28) {
116+
// Disable partial repaint for devices older than Android 9. There
117117
// are old devices that have extensions below available but the
118118
// implementation causes glitches (i.e. Xperia Z3 with Android 6).
119119
partial_redraw_supported_ = false;

0 commit comments

Comments
 (0)