diff options
author | Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de> | 2016-06-22 18:30:28 +0200 |
---|---|---|
committer | Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de> | 2016-06-22 18:30:28 +0200 |
commit | f05fa984af2eaa22c5b8b841fa963f1d36346b3e (patch) | |
tree | cdfbf81b25b11686f1c6ac59dac3fe0ea0c5b8bf | |
parent | 54c95b1a835bca7db58883fb5921481b8945697d (diff) | |
download | frameworks_native-f05fa984af2eaa22c5b8b841fa963f1d36346b3e.zip frameworks_native-f05fa984af2eaa22c5b8b841fa963f1d36346b3e.tar.gz frameworks_native-f05fa984af2eaa22c5b8b841fa963f1d36346b3e.tar.bz2 |
load Android SW renderer only if libagl property is set
allows to use the sofwaregl property separately for llvmpipe
Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
-rw-r--r-- | opengl/libs/EGL/Loader.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/opengl/libs/EGL/Loader.cpp b/opengl/libs/EGL/Loader.cpp index 66b4c81..19cc1a7 100644 --- a/opengl/libs/EGL/Loader.cpp +++ b/opengl/libs/EGL/Loader.cpp @@ -87,7 +87,7 @@ checkGlesEmulationStatus(void) int result = -1; /* Check first if the device does not support hardware rendering */ - property_get("ro.softwaregl",prop,"0"); + property_get("ro.libagl",prop,"0"); if(atoi(prop) == 1) return 0; |