Ignore swizzle to fix crash on Oreo PowerVR devices

This commit is contained in:
Pierre-Hugues Husson 2019-10-22 15:26:22 +02:00
parent cf6e53c1fe
commit e4f8a3340f
1 changed files with 1 additions and 0 deletions

View File

@ -260,6 +260,7 @@ if grep -qF 'PowerVR Rogue GE8100' /vendor/lib/egl/GLESv1_CM_mtk.so ||
( (getprop ro.product.board; getprop ro.board.platform) | grep -qiE -e msm8917 -e msm8937 -e msm8940); then
setprop debug.hwui.renderer opengl
setprop ro.skia.ignore_swizzle true
fi
#If we have both Samsung and AOSP power hal, take Samsung's