Merge pull request #133 from XavierWrz/patch-2

Fix for broken OpenGL ES on old Snapdragon devices
This commit is contained in:
Pierre-Hugues HUSSON 2019-12-13 18:16:45 +01:00 committed by GitHub
commit 33e906838c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -281,7 +281,8 @@ if grep -qF 'PowerVR Rogue GE8100' /vendor/lib/egl/GLESv1_CM_mtk.so ||
setprop debug.hwui.renderer opengl
setprop ro.skia.ignore_swizzle true
if [ "$vndk" = 26 ] || [ "$vndk" = 27 ];then
setprop debug.hwui.profile true
setprop debug.hwui.use_buffer_age false
fi
fi