summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWolfgang Wiedmeyer <wolfgit@wiedmeyer.de>2016-06-22 18:30:28 +0200
committerDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2020-01-02 15:47:19 +0100
commit298d46ee986ef563831baf88c380511cf5e885c5 (patch)
treea9b368a2691ea53bb6053e4f976a4dfd947db5b1
parentebb41a0b940a355dcfcd07923228fb1fd4edfcd3 (diff)
downloadframeworks_native-298d46ee986ef563831baf88c380511cf5e885c5.tar.gz
frameworks_native-298d46ee986ef563831baf88c380511cf5e885c5.tar.bz2
frameworks_native-298d46ee986ef563831baf88c380511cf5e885c5.zip
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.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/opengl/libs/EGL/Loader.cpp b/opengl/libs/EGL/Loader.cpp
index 66b4c818d..19cc1a747 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;